New submission from ivank <i...@ludios.org>: Python 2.7, svn r76655. I ran the tests with python2.7 Lib/test/testall.py > test-results.txt
test_linecache test_checkcache (test.test_linecache.LineCacheTests) ... ERROR test_clearcache (test.test_linecache.LineCacheTests) ... ok test_getline (test.test_linecache.LineCacheTests) ... ok ====================================================================== ERROR: test_checkcache (test.test_linecache.LineCacheTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/Python-latest/lib/python2.7/test/test_linecache.py", line 121, in test_checkcache source.close() UnboundLocalError: local variable 'source' referenced before assignment ---------------------------------------------------------------------- Ran 3 tests in 0.022s FAILED (errors=1) test test_linecache failed -- Traceback (most recent call last): File "/opt/Python-latest/lib/python2.7/test/test_linecache.py", line 121, in test_checkcache source.close() UnboundLocalError: local variable 'source' referenced before assignment ---------- components: Library (Lib) messages: 95948 nosy: ivank severity: normal status: open title: UnboundLocalError during test.test_linecache.LineCacheTests type: behavior versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7431> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com