From 06727123db954c6dd79b5db9348b36927f604a27 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Sat, 15 Jun 2002 05:00:42 +0000 Subject: test_module_with_large_stack(): This failed on Windows, for the wrong reason : can't unlink an open file on Windows. --- Lib/test/test_import.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') - -- cgit v0.12