Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b10dc3

Browse files
committed
Require 'largefile' resource for Mac OSX as well.
1 parent bb48465 commit 3b10dc3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lib/test/test_largefile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
name = test_support.TESTFN
2424

2525

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

0 commit comments

Comments
 (0)