]> granicus.if.org Git - python/commitdiff
Require 'largefile' resource for Mac OSX as well.
authorGuido van Rossum <guido@python.org>
Mon, 2 Dec 2002 10:42:30 +0000 (10:42 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 2 Dec 2002 10:42:30 +0000 (10:42 +0000)
Lib/test/test_largefile.py

index 7287e6dd72f33b652c4652d9124d0b0988c1c134..a05f2cbaecbf898dd3f415fbe83a40ed78962687 100644 (file)
@@ -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))