summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-01-22 19:00:39 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-01-23 20:49:03 +0200
commitc26b34c92ffa6e64783067266d1885ddd3ba22e9 (patch)
treebc46c04cbdea39be6c2301f20332725a6c5dc59d /dev-python/picobox/files
parentdev-python/sphinxcontrib_github_alt: new package, 1.2 (diff)
downloadgentoo-c26b34c92ffa6e64783067266d1885ddd3ba22e9.tar.gz
gentoo-c26b34c92ffa6e64783067266d1885ddd3ba22e9.tar.bz2
gentoo-c26b34c92ffa6e64783067266d1885ddd3ba22e9.zip
dev-python/picobox: new package, 2.2.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/picobox/files')
-rw-r--r--dev-python/picobox/files/picobox-2.2.0-fix-py3.10.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/picobox/files/picobox-2.2.0-fix-py3.10.patch b/dev-python/picobox/files/picobox-2.2.0-fix-py3.10.patch
new file mode 100644
index 000000000000..74c6f9b2193f
--- /dev/null
+++ b/dev-python/picobox/files/picobox-2.2.0-fix-py3.10.patch
@@ -0,0 +1,26 @@
+diff --git a/tests/test_box.py b/tests/test_box.py
+index c1c1ca2..d576086 100644
+--- a/tests/test_box.py
++++ b/tests/test_box.py
+@@ -402,7 +402,7 @@ def test_box_pass_unexpected_argument(boxclass):
+ with pytest.raises(TypeError) as excinfo:
+ fn(1, 2)
+
+- assert str(excinfo.value) == "fn() got an unexpected keyword argument 'd'"
++ assert "fn() got an unexpected keyword argument 'd'" in str(excinfo.value)
+
+
+ def test_box_pass_keyerror(boxclass):
+diff --git a/tests/test_stack.py b/tests/test_stack.py
+index 725d378..10129b3 100644
+--- a/tests/test_stack.py
++++ b/tests/test_stack.py
+@@ -472,7 +472,7 @@ def test_box_pass_unexpected_argument(boxclass, teststack):
+ with pytest.raises(TypeError) as excinfo:
+ fn(1, 2)
+
+- assert str(excinfo.value) == "fn() got an unexpected keyword argument 'd'"
++ assert "fn() got an unexpected keyword argument 'd'" in str(excinfo.value)
+
+
+ def test_box_pass_keyerror(boxclass, teststack):