diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-06-15 05:00:42 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-06-15 05:00:42 +0000 |
commit | 7b3ff5b1543b8ae5b5341620aadcc31d79a91935 (patch) | |
tree | b7f6cdece68d7f1bae8cde2d162205ce97bd4c7c /Lib/test/test_import.py | |
parent | ea1c790ddd4c38610a8ece495082486ffd483d52 (diff) | |
download | cpython-7b3ff5b1543b8ae5b5341620aadcc31d79a91935.tar.gz |
test_module_with_large_stack(): This failed on Windows, for the wrong
reason <wink>: can't unlink an open file on Windows.
Diffstat (limited to 'Lib/test/test_import.py')
-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 1246822bfa..9342812da3 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') - |