[New-bugs-announce] [issue9145] test_coercion fails in refleak runs
Antoine Pitrou
report at bugs.python.org
Fri Jul 2 19:35:19 CEST 2010
New submission from Antoine Pitrou <pitrou at free.fr>:
$ ./python -m test.regrtest -uall -R 2:3 -v test_coercion
== CPython 2.7rc2+ (trunk, Jul 2 2010, 18:50:24) [GCC 4.3.2]
== Linux-2.6.27.10-grsec-xxxx-grs-ipv4-64-x86_64-with-debian-lenny-sid little-endian
== /home/antoine/cpython/debug/build/test_python_19672
test_coercion
test_cmptypes (test.test_coercion.CoercionTest) ... ok
test_infinite_rec_classic_classes (test.test_coercion.CoercionTest) ... ok
test_infix_binops (test.test_coercion.CoercionTest) ... ok
test_prefix_binops (test.test_coercion.CoercionTest) ... ok
----------------------------------------------------------------------
Ran 4 tests in 0.122s
OK
beginning 5 repetitions
12345
test test_coercion crashed -- <type 'exceptions.UnboundLocalError'>: local variable 'res' referenced before assignment
Traceback (most recent call last):
File "/home/antoine/cpython/debug/Lib/test/regrtest.py", line 873, in runtest_inner
huntrleaks)
File "/home/antoine/cpython/debug/Lib/test/regrtest.py", line 1003, in dash_R
run_the_test()
File "/home/antoine/cpython/debug/Lib/test/regrtest.py", line 989, in run_the_test
indirect_test()
File "/home/antoine/cpython/debug/Lib/test/test_coercion.py", line 339, in test_main
process_infix_results()
File "/home/antoine/cpython/debug/Lib/test/test_coercion.py", line 215, in process_infix_results
if isinstance(res[i][6], tuple):
UnboundLocalError: local variable 'res' referenced before assignment
1 test failed:
test_coercion
[55121 refs]
----------
components: Library (Lib), Tests
messages: 109118
nosy: ezio.melotti, flox, pitrou
priority: normal
severity: normal
status: open
title: test_coercion fails in refleak runs
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9145>
_______________________________________
More information about the New-bugs-announce
mailing list