Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/blinker/files/
Date: Thu, 18 Aug 2022 06:18:52
Message-Id: 1660803512.44585de5973aaaf060a1cfa3fe525ecc9bc4e775.mgorny@gentoo
1 commit: 44585de5973aaaf060a1cfa3fe525ecc9bc4e775
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 05:04:30 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 06:18:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44585de5
7
8 dev-python/blinker: Remove obsolete patch
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/blinker/files/blinker-1.4-pytest.patch | 31 -----------------------
13 1 file changed, 31 deletions(-)
14
15 diff --git a/dev-python/blinker/files/blinker-1.4-pytest.patch b/dev-python/blinker/files/blinker-1.4-pytest.patch
16 deleted file mode 100644
17 index e5c2b04998b5..000000000000
18 --- a/dev-python/blinker/files/blinker-1.4-pytest.patch
19 +++ /dev/null
20 @@ -1,31 +0,0 @@
21 -From 8238e16c699ce7f99f5ff3f80d03d332d72015f8 Mon Sep 17 00:00:00 2001
22 -From: pgajdos <pgajdos@××××.cz>
23 -Date: Wed, 8 Jul 2020 15:22:19 +0200
24 -Subject: [PATCH] use pytest instead of deprecated nose
25 -
26 ----
27 - tests/test_signals.py | 4 ++--
28 - 1 file changed, 2 insertions(+), 2 deletions(-)
29 -
30 -diff --git a/tests/test_signals.py b/tests/test_signals.py
31 -index 2d6a65a..e74db47 100644
32 ---- a/tests/test_signals.py
33 -+++ b/tests/test_signals.py
34 -@@ -4,7 +4,7 @@
35 -
36 - import blinker
37 -
38 --from nose.tools import assert_raises
39 -+import pytest
40 -
41 -
42 - jython = sys.platform.startswith('java')
43 -@@ -227,7 +227,7 @@ def receiver(sender, **kw):
44 - pass
45 - sig = blinker.Signal()
46 -
47 -- assert_raises(TypeError, sig.connect, receiver)
48 -+ pytest.raises(TypeError, sig.connect, receiver)
49 - assert not sig.receivers
50 - assert not sig._by_receiver
51 - assert sig._by_sender == {blinker.base.ANY_ID: set()}