[New-bugs-announce] [issue13080] test_email fails in refleak mode

Antoine Pitrou report at bugs.python.org
Fri Sep 30 21:31:37 CEST 2011


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

$ ./python -m test -R 3:2 -uall test_email
[1/1] test_email
beginning 5 repetitions
12345
Warning -- sys.path was modified by test_email
test test_email failed -- Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_email/test_policy.py", line 136, in test_overriden_register_defect_works
    self.assertEqual(my_policy.defects, [defect1])
AssertionError: Lists differ: [MyDefect('one',), MyDefect('t... != [MyDefect('one',)]

First differing element 0:
one
one

First list contains 2 additional elements.
First extra element 1:
two

- [MyDefect('one',), MyDefect('two',), MyDefect('one',)]
+ [MyDefect('one',)]

1 test failed:
    test_email

----------
components: Library (Lib), Tests
messages: 144700
nosy: barry, pitrou, r.david.murray
priority: normal
severity: normal
status: open
title: test_email fails in refleak mode
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list