[Python-checkins] CVS: python/dist/src/Lib/test test_largefile.py,1.9,1.10
Guido van Rossum
gvanrossum@users.sourceforge.net
Mon, 10 Sep 2001 08:03:20 -0700
- Previous message: [Python-checkins] CVS: python/dist/src acconfig.h,1.55,1.56 configure,1.248,1.249 configure.in,1.256,1.257 pyconfig.h.in,1.10,1.11
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_largefile.py,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv21745
Modified Files:
test_largefile.py
Log Message:
Move the global variables 'size' and 'name' to the top -- these are
"module parameters", and used in the Windows test (which crashed
because size was undefined -- sigh).
Index: test_largefile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_largefile.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** test_largefile.py 2001/09/10 13:34:12 1.9
--- test_largefile.py 2001/09/10 15:03:18 1.10
***************
*** 12,15 ****
--- 12,20 ----
+ # create >2GB file (2GB = 2147483648 bytes)
+ 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
***************
*** 37,45 ****
else:
f.close()
-
-
- # create >2GB file (2GB = 2147483648 bytes)
- size = 2500000000L
- name = test_support.TESTFN
--- 42,45 ----
- Previous message: [Python-checkins] CVS: python/dist/src acconfig.h,1.55,1.56 configure,1.248,1.249 configure.in,1.256,1.257 pyconfig.h.in,1.10,1.11
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_largefile.py,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]