summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@gentoo.org>2024-06-10 13:43:30 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-06-10 13:49:57 +0200
commit36355df0c814cb5ab670a1245d053da8ac879302 (patch)
tree8b37bf63cc3e72a21c13a08c43d741eb5b97f4d6 /dev-python/qrcode
parentdev-python/segno: enable py3.13 (diff)
downloadgentoo-36355df0c814cb5ab670a1245d053da8ac879302.tar.gz
gentoo-36355df0c814cb5ab670a1245d053da8ac879302.tar.bz2
gentoo-36355df0c814cb5ab670a1245d053da8ac879302.zip
dev-python/qrcode: deselect failing test_pipe test
test_pipe and test_factory tests seem not to mock sys.stdout properly. The issues [1,2] are related to PR [3]. [1] https://github.com/lincolnloop/python-qrcode/issues/355 [2] https://github.com/lincolnloop/python-qrcode/issues/361 [3] https://github.com/lincolnloop/python-qrcode/pull/364 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-python/qrcode')
-rw-r--r--dev-python/qrcode/qrcode-7.4.2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/qrcode/qrcode-7.4.2.ebuild b/dev-python/qrcode/qrcode-7.4.2.ebuild
index 3630698dcec6..86edbc682c15 100644
--- a/dev-python/qrcode/qrcode-7.4.2.ebuild
+++ b/dev-python/qrcode/qrcode-7.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,8 +30,10 @@ RDEPEND="
distutils_enable_tests pytest
EPYTEST_DESELECT=(
- # TODO
+ # sys.stdout is not properly mocked, see
+ # https://github.com/lincolnloop/python-qrcode/pull/364
qrcode/tests/test_script.py::ScriptTest::test_factory
+ qrcode/tests/test_script.py::ScriptTest::test_pipe
# release process-specific tests, broken on py3.12
qrcode/tests/test_release.py
)