From a8559db6e048db7cdb94c76db786b104422a00b5 Mon Sep 17 00:00:00 2001 From: scito Date: Sun, 1 Jan 2023 00:52:28 +0100 Subject: [PATCH] ci: mypy only for latest Python on ubuntu --- tests/extract_otp_secrets_txt_unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/extract_otp_secrets_txt_unit_test.py b/tests/extract_otp_secrets_txt_unit_test.py index c3b7fec..fcacc9a 100644 --- a/tests/extract_otp_secrets_txt_unit_test.py +++ b/tests/extract_otp_secrets_txt_unit_test.py @@ -171,7 +171,7 @@ Type: totp self.assertEqual(count_files_in_dir('testout/qr'), 6) def test_extract_verbose(self) -> None: - if sys.implementation.name == 'pypy' or sys.platform.startswith("win"): + if sys.implementation.name == 'pypy' or sys.platform.startswith("win") or sys.version_info < (3, 10): self.skipTest("Avoid encoding problems") out = io.StringIO() with redirect_stdout(out):