diff options
author | Guido van Rossum <guido@python.org> | 2002-12-02 10:42:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-02 10:42:30 (GMT) |
commit | 3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94 (patch) | |
tree | 0a9f06eb61726067d406ed0258abef069d442aa7 | |
parent | bb48465273d2aa98fc7669e99b0d5fb1c57962de (diff) | |
download | cpython-3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94.zip cpython-3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94.tar.gz cpython-3b10dc3554f9820b21d4c95bc3f1c1e6f5d4bf94.tar.bz2 |
Require 'largefile' resource for Mac OSX as well.
-rw-r--r-- | Lib/test/test_largefile.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py index 7287e6d..a05f2cb 100644 --- a/Lib/test/test_largefile.py +++ b/Lib/test/test_largefile.py @@ -23,11 +23,11 @@ size = 2500000000L name = test_support.TESTFN -# On Windows this test comsumes large resources; It takes a long time to build -# the >2GB file and takes >2GB of disk space therefore the resource must be -# enabled to run this test. If not, nothing after this line stanza will be -# executed. -if sys.platform[:3] == 'win': +# On Windows and Mac OSX this test comsumes large resources; It takes +# a long time to build the >2GB file and takes >2GB of disk space +# therefore the resource must be enabled to run this test. If not, +# nothing after this line stanza will be executed. +if sys.platform[:3] == 'win' or sys.platform == 'darwin': test_support.requires( 'largefile', 'test requires %s bytes and a long time to run' % str(size)) |