diff options
author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2022-07-22 09:41:09 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-07-24 06:28:56 -0700 |
commit | 291e82c9dc01741020007baf83769b72d59af9e9 (patch) | |
tree | 868cd395b9d72b13401ea44e8e7d722108788d9d /meta-python/recipes-devtools/python/python3-blinker | |
parent | a8485048aa9164e173b0c8b52a8548ffe62e0ab7 (diff) | |
download | meta-openembedded-291e82c9dc01741020007baf83769b72d59af9e9.tar.gz |
python3-blinker: upgrade 1.4 -> 1.5
0001-use-pytest-instead-of-deprecated-nose.patch
removed since it's included in 1.5
License-Update: License check file changed to LICENSE.rst
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-blinker')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-blinker/0001-use-pytest-instead-of-deprecated-nose.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-python/recipes-devtools/python/python3-blinker/0001-use-pytest-instead-of-deprecated-nose.patch b/meta-python/recipes-devtools/python/python3-blinker/0001-use-pytest-instead-of-deprecated-nose.patch deleted file mode 100644 index a04c79b1e..000000000 --- a/meta-python/recipes-devtools/python/python3-blinker/0001-use-pytest-instead-of-deprecated-nose.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 9750d01118ee59ab174525e30d987065b69c0538 Mon Sep 17 00:00:00 2001 | ||
2 | From: pgajdos <pgajdos@suse.cz> | ||
3 | Date: Wed, 8 Jul 2020 15:22:19 +0200 | ||
4 | Subject: [PATCH] use pytest instead of deprecated nose | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/jek/blinker/pull/60] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | tests/test_signals.py | 4 ++-- | ||
10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/tests/test_signals.py b/tests/test_signals.py | ||
13 | index 9771e40..ccbc35b 100644 | ||
14 | --- a/tests/test_signals.py | ||
15 | +++ b/tests/test_signals.py | ||
16 | @@ -4,7 +4,7 @@ import time | ||
17 | |||
18 | import blinker | ||
19 | |||
20 | -from nose.tools import assert_raises | ||
21 | +import pytest | ||
22 | |||
23 | |||
24 | jython = sys.platform.startswith('java') | ||
25 | @@ -232,7 +232,7 @@ def test_meta_connect_failure(): | ||
26 | pass | ||
27 | sig = blinker.Signal() | ||
28 | |||
29 | - assert_raises(TypeError, sig.connect, receiver) | ||
30 | + pytest.raises(TypeError, sig.connect, receiver) | ||
31 | assert not sig.receivers | ||
32 | assert not sig._by_receiver | ||
33 | assert sig._by_sender == {blinker.base.ANY_ID: set()} | ||
34 | -- | ||
35 | 2.35.1 | ||
36 | |||