diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-05-19 21:24:20 +0200 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2020-06-02 00:28:02 -0400 |
commit | aaaa4d773d49d98b820005e7da7824ef13b27745 (patch) | |
tree | 2afdf4c1270b3588e7b4df69fea26c0c0726ea37 /dev-python/requests | |
parent | dev-python/pyzmq: remove unused patch (diff) | |
download | gentoo-aaaa4d773d49d98b820005e7da7824ef13b27745.tar.gz gentoo-aaaa4d773d49d98b820005e7da7824ef13b27745.tar.bz2 gentoo-aaaa4d773d49d98b820005e7da7824ef13b27745.zip |
dev-python/requests: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-python/requests')
-rw-r--r-- | dev-python/requests/files/requests-2.22.0-pytest-4.patch | 27 |
1 files changed, 0 insertions, 27 deletions
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 deleted file mode 100644 index 5b8ec34912d9..000000000000 --- a/dev-python/requests/files/requests-2.22.0-pytest-4.patch +++ /dev/null @@ -1,27 +0,0 @@ -From dc75b3ca0b4c95648eb07b92cb414394d99c13a0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> -Date: Mon, 8 Apr 2019 18:04:22 +0200 -Subject: [PATCH] Support pytest 4 - -Fixes https://github.com/kennethreitz/requests/issues/5048 - -See https://docs.pytest.org/en/latest/deprecations.html#marks-in-pytest-mark-parametrize ---- - setup.py | 2 +- - tests/test_utils.py | 3 ++- - 2 files changed, 3 insertions(+), 2 deletions(-) - -diff --git a/tests/test_utils.py b/tests/test_utils.py -index 59b0b0efa..62c51494d 100644 ---- a/tests/test_utils.py -+++ b/tests/test_utils.py -@@ -33,7 +33,8 @@ class TestSuperLen: - 'stream, value', ( - (StringIO.StringIO, 'Test'), - (BytesIO, b'Test'), -- pytest.mark.skipif('cStringIO is None')((cStringIO, 'Test')), -+ pytest.param(cStringIO, 'Test', -+ marks=pytest.mark.skipif('cStringIO is None')), - )) - def test_io_streams(self, stream, value): - """Ensures that we properly deal with different kinds of IO streams.""" |