[New-bugs-announce] [issue5695] test_logging fails when run twice in a row

Antoine Pitrou report at bugs.python.org
Sun Apr 5 02:30:51 CEST 2009


New submission from Antoine Pitrou <pitrou at free.fr>:

This happens e.g. when searching for refleaks (the -R option to regrtest).


./python -m test.regrtest test_logging test_logging
Could not find '/home/antoine/py3k/debug/Lib/test' in sys.path to remove it
test_logging
test_logging
test test_logging failed -- Traceback (most recent call last):
  File "/home/antoine/py3k/debug/Lib/test/test_logging.py", line 932, in
test_warnings
    file, "Dummy line")
  File "/home/antoine/py3k/debug/Lib/logging/__init__.py", line 1534, in
_showwarning
    _warnings_showwarning(message, category, filename, lineno, file, line)
  File "/home/antoine/py3k/debug/Lib/logging/__init__.py", line 1534, in
_showwarning
    _warnings_showwarning(message, category, filename, lineno, file, line)
[...]
  File "/home/antoine/py3k/debug/Lib/logging/__init__.py", line 1534, in
_showwarning
    _warnings_showwarning(message, category, filename, lineno, file, line)
RuntimeError: maximum recursion depth exceeded

----------
assignee: vsajip
components: Library (Lib), Tests
messages: 85454
nosy: pitrou, vsajip
priority: normal
severity: normal
stage: needs patch
status: open
title: test_logging fails when run twice in a row
type: crash
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5695>
_______________________________________


More information about the New-bugs-announce mailing list