diff options
| author | Skip Montanaro <skip@pobox.com> | 2003-03-31 17:42:52 +0000 |
|---|---|---|
| committer | Skip Montanaro <skip@pobox.com> | 2003-03-31 17:42:52 +0000 |
| commit | ddf625bd89e7f3152d2910f8ba8ab5649ab26c25 (patch) | |
| tree | d1f2e38a49f0092fcf934a19946c5b3e8c8f7349 /Lib | |
| parent | fb5d378a65166d9d75d9fb0bc84ca945026a088e (diff) | |
| download | cpython-git-ddf625bd89e7f3152d2910f8ba8ab5649ab26c25.tar.gz | |
backport largefile resource requirement for Mac OSX
Diffstat (limited to 'Lib')
| -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 abfee39e98..bf3b0ac181 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)) |
