test_module_with_large_stack(): This failed on Windows, for the wrong

reason <wink>:  can't unlink an open file on Windows.
This commit is contained in:
Tim Peters 2002-06-15 05:00:42 +00:00
parent 11e104f519
commit 06727123db
1 changed files with 1 additions and 1 deletions

View File

@ -91,6 +91,7 @@ def test_module_with_large_stack(module):
# compile & remove .py file, we only need .pyc # compile & remove .py file, we only need .pyc
f = open(filename, 'r') f = open(filename, 'r')
py_compile.compile(filename) py_compile.compile(filename)
f.close()
os.unlink(filename) os.unlink(filename)
# need to be able to load from current dir # need to be able to load from current dir
@ -104,4 +105,3 @@ def test_module_with_large_stack(module):
os.unlink(module + '.pyc') os.unlink(module + '.pyc')
test_module_with_large_stack('longlist') test_module_with_large_stack('longlist')