diff options
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r-- | Lib/test/test_os.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 4693164..81d05ab 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -1034,7 +1034,8 @@ class Win32KillTests(unittest.TestCase): def skipUnlessWindows6(test): - if hasattr(sys, 'getwindowsversion') and sys.getwindowsversion().major >= 6: + if (hasattr(sys, 'getwindowsversion') + and sys.getwindowsversion().major >= 6): return test return unittest.skip("Requires Windows Vista or later")(test) |