disable verbose unittest for Windows

This commit is contained in:
scito
2022-12-31 21:34:28 +01:00
parent 5be6e9c322
commit fc1619d9c7

View File

@@ -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':
if sys.implementation.name == 'pypy' or sys.platform.startswith("win"):
self.skipTest("Avoid encoding problems")
out = io.StringIO()
with redirect_stdout(out):