commit:     36355df0c814cb5ab670a1245d053da8ac879302
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 11:43:30 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 11:49:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36355df0

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 <AT> gentoo.org>

 dev-python/qrcode/qrcode-7.4.2.ebuild | 6 ++++--
 1 file 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
 )

Reply via email to