diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-06-15 05:00:42 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-06-15 05:00:42 (GMT) |
commit | 06727123db954c6dd79b5db9348b36927f604a27 (patch) | |
tree | 04bbacf533188f8ebdad93bfc5d0dc1b4c226a4c | |
parent | 11e104f519560d5346851eb368319da5092a4861 (diff) | |
download | cpython-06727123db954c6dd79b5db9348b36927f604a27.zip cpython-06727123db954c6dd79b5db9348b36927f604a27.tar.gz cpython-06727123db954c6dd79b5db9348b36927f604a27.tar.bz2 |
test_module_with_large_stack(): This failed on Windows, for the wrong
reason <wink>: can't unlink an open file on Windows.
-rw-r--r-- | Lib/test/test_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 1246822..9342812 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -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') - |