Require 'largefile' resource for Mac OSX as well.

This commit is contained in:
Guido van Rossum 2002-12-02 10:42:30 +00:00
parent bb48465273
commit 3b10dc3554
1 changed files with 5 additions and 5 deletions

View File

@ -23,11 +23,11 @@ size = 2500000000L
name = test_support.TESTFN name = test_support.TESTFN
# On Windows this test comsumes large resources; It takes a long time to build # On Windows and Mac OSX this test comsumes large resources; It takes
# the >2GB file and takes >2GB of disk space therefore the resource must be # a long time to build the >2GB file and takes >2GB of disk space
# enabled to run this test. If not, nothing after this line stanza will be # therefore the resource must be enabled to run this test. If not,
# executed. # nothing after this line stanza will be executed.
if sys.platform[:3] == 'win': if sys.platform[:3] == 'win' or sys.platform == 'darwin':
test_support.requires( test_support.requires(
'largefile', 'largefile',
'test requires %s bytes and a long time to run' % str(size)) 'test requires %s bytes and a long time to run' % str(size))