diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-22 19:00:39 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-23 20:49:03 +0200 |
commit | c26b34c92ffa6e64783067266d1885ddd3ba22e9 (patch) | |
tree | bc46c04cbdea39be6c2301f20332725a6c5dc59d /dev-python/picobox/files | |
parent | dev-python/sphinxcontrib_github_alt: new package, 1.2 (diff) | |
download | gentoo-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.patch | 26 |
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): |