diff options
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index 286ae76..d84605e 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -583,7 +583,7 @@ class IOTest(unittest.TestCase): # On Windows and Mac OSX this test consumes large resources; It takes # a long time to build the >2 GiB file and takes >2 GiB of disk space # therefore the resource must be enabled to run this test. - if sys.platform[:3] == 'win' or sys.platform == 'darwin': + if support.MS_WINDOWS or support.MACOS: support.requires( 'largefile', 'test requires %s bytes and a long time to run' % self.LARGE) |