[issue8439] test_linecache failing in py3k r80169
Tim Golden
report at bugs.python.org
Sun Apr 18 12:20:37 CEST 2010
New submission from Tim Golden <mail at timgolden.me.uk>:
test_linecache in the current py3k branch is failing on my WinXP machine with ERROR_SHARING_VIOLATION.
The attached trivial patch appears to fix the problem, altho' I'm unfamiliar
with the module in question so it may be that there's more to be done.
----------
files: test_linecache.py.patch
keywords: patch
messages: 103475
nosy: tim.golden
severity: normal
status: open
title: test_linecache failing in py3k r80169
Added file: http://bugs.python.org/file16970/test_linecache.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8439>
_______________________________________
-------------- next part --------------
Index: test_linecache.py
===================================================================
--- test_linecache.py (revision 80169)
+++ test_linecache.py (working copy)
@@ -114,6 +114,7 @@
for index, line in enumerate(source):
self.assertEquals(line, getline(source_name, index + 1))
source_list.append(line)
+ source.close ()
finally:
support.unlink(source_name)
More information about the Python-bugs-list
mailing list