diff options
Diffstat (limited to 'dev-python/blinker/files')
-rw-r--r-- | dev-python/blinker/files/blinker-1.4-pytest.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-python/blinker/files/blinker-1.4-pytest.patch b/dev-python/blinker/files/blinker-1.4-pytest.patch deleted file mode 100644 index e5c2b04998b5..000000000000 --- a/dev-python/blinker/files/blinker-1.4-pytest.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8238e16c699ce7f99f5ff3f80d03d332d72015f8 Mon Sep 17 00:00:00 2001 -From: pgajdos <pgajdos@suse.cz> -Date: Wed, 8 Jul 2020 15:22:19 +0200 -Subject: [PATCH] use pytest instead of deprecated nose - ---- - tests/test_signals.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_signals.py b/tests/test_signals.py -index 2d6a65a..e74db47 100644 ---- a/tests/test_signals.py -+++ b/tests/test_signals.py -@@ -4,7 +4,7 @@ - - import blinker - --from nose.tools import assert_raises -+import pytest - - - jython = sys.platform.startswith('java') -@@ -227,7 +227,7 @@ def receiver(sender, **kw): - pass - sig = blinker.Signal() - -- assert_raises(TypeError, sig.connect, receiver) -+ pytest.raises(TypeError, sig.connect, receiver) - assert not sig.receivers - assert not sig._by_receiver - assert sig._by_sender == {blinker.base.ANY_ID: set()} |