diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-06-26 00:11:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 00:11:06 (GMT) |
commit | 937ee9e745d7ff3c2010b927903c0e2a83623324 (patch) | |
tree | 39e60ea2d4770bde9800159f2f4e569e0fda729b /Lib/test/test_largefile.py | |
parent | fdd6e0bf18517c3dc5e24c48fbfe890229fad1b5 (diff) | |
download | cpython-937ee9e745d7ff3c2010b927903c0e2a83623324.zip cpython-937ee9e745d7ff3c2010b927903c0e2a83623324.tar.gz cpython-937ee9e745d7ff3c2010b927903c0e2a83623324.tar.bz2 |
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
This reverts commit 8fbbdf0c3107c3052659e166f73990b466eacbb0.
Diffstat (limited to 'Lib/test/test_largefile.py')
-rw-r--r-- | Lib/test/test_largefile.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py index 25b8ff0..21296cc 100644 --- a/Lib/test/test_largefile.py +++ b/Lib/test/test_largefile.py @@ -5,7 +5,6 @@ import os import stat import sys import unittest -from test import support from test.support import TESTFN, requires, unlink import io # C implementation of io import _pyio as pyio # Python implementation of io @@ -146,7 +145,7 @@ def setUpModule(): # 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 not, nothing after this line stanza will be executed. - if support.MS_WINDOWS or support.MACOS: + if sys.platform[:3] == 'win' or sys.platform == 'darwin': requires('largefile', 'test requires %s bytes and a long time to run' % str(size)) else: |