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
|
||||
f = open(filename, 'r')
|
||||
py_compile.compile(filename)
|
||||
f.close()
|
||||
os.unlink(filename)
|
||||
|
||||
# need to be able to load from current dir
|
||||
|
@ -104,4 +105,3 @@ def test_module_with_large_stack(module):
|
|||
os.unlink(module + '.pyc')
|
||||
|
||||
test_module_with_large_stack('longlist')
|
||||
|
||||
|
|
Loading…
Reference in New Issue