From: Skip Montanaro Date: Mon, 31 Mar 2003 17:42:52 +0000 (+0000) Subject: backport largefile resource requirement for Mac OSX X-Git-Tag: v2.2.3c1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddf625bd89e7f3152d2910f8ba8ab5649ab26c25;p=thirdparty%2FPython%2Fcpython.git backport largefile resource requirement for Mac OSX --- diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py index abfee39e988a..bf3b0ac181ed 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))