Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/requests/files/
Date: Tue, 02 Jun 2020 04:28:32
Message-Id: 1591072082.aaaa4d773d49d98b820005e7da7824ef13b27745.bman@gentoo
1 commit: aaaa4d773d49d98b820005e7da7824ef13b27745
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Tue May 19 19:24:20 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 04:28:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaaa4d77
7
8 dev-python/requests: remove unused patch(es)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
12
13 .../requests/files/requests-2.22.0-pytest-4.patch | 27 ----------------------
14 1 file changed, 27 deletions(-)
15
16 diff --git a/dev-python/requests/files/requests-2.22.0-pytest-4.patch b/dev-python/requests/files/requests-2.22.0-pytest-4.patch
17 deleted file mode 100644
18 index 5b8ec34912d..00000000000
19 --- a/dev-python/requests/files/requests-2.22.0-pytest-4.patch
20 +++ /dev/null
21 @@ -1,27 +0,0 @@
22 -From dc75b3ca0b4c95648eb07b92cb414394d99c13a0 Mon Sep 17 00:00:00 2001
23 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@×××××××.cz>
24 -Date: Mon, 8 Apr 2019 18:04:22 +0200
25 -Subject: [PATCH] Support pytest 4
26 -
27 -Fixes https://github.com/kennethreitz/requests/issues/5048
28 -
29 -See https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize
30 ----
31 - setup.py | 2 +-
32 - tests/test_utils.py | 3 ++-
33 - 2 files changed, 3 insertions(+), 2 deletions(-)
34 -
35 -diff --git a/tests/test_utils.py b/tests/test_utils.py
36 -index 59b0b0efa..62c51494d 100644
37 ---- a/tests/test_utils.py
38 -+++ b/tests/test_utils.py
39 -@@ -33,7 +33,8 @@ class TestSuperLen:
40 - 'stream, value', (
41 - (StringIO.StringIO, 'Test'),
42 - (BytesIO, b'Test'),
43 -- pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')),
44 -+ pytest.param(cStringIO, 'Test',
45 -+ marks=pytest.mark.skipif('cStringIO is None')),
46 - ))
47 - def test_io_streams(self, stream, value):
48 - """Ensures that we properly deal with different kinds of IO streams."""