mirror of https://github.com/python/cpython
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:
parent
11e104f519
commit
06727123db
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue