From 7f70315c83b28f8031eeca53f54c95213c7f1088 Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Tue, 25 May 2021 14:49:44 -0400 Subject: [PATCH] Skip tests on Python 3. --- src/allmydata/test/test_windows.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/allmydata/test/test_windows.py b/src/allmydata/test/test_windows.py index 01e4a57c1..bae56bfed 100644 --- a/src/allmydata/test/test_windows.py +++ b/src/allmydata/test/test_windows.py @@ -79,6 +79,7 @@ slow_settings = settings( ) @skipUnless(platform.isWindows(), "get_argv is Windows-only") +@skipUnless(PY2, "Not used on Python 3.") class GetArgvTests(SyncTestCase): """ Tests for ``get_argv``. @@ -172,6 +173,7 @@ class GetArgvTests(SyncTestCase): @skipUnless(platform.isWindows(), "intended for Windows-only codepaths") +@skipUnless(PY2, "Not used on Python 3.") class UnicodeOutputTests(SyncTestCase): """ Tests for writing unicode to stdout and stderr.