This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_super fails in refleak runs
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, pitrou, python-dev
Priority: normal Keywords:

Created on 2013-05-17 16:15 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg189464 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2013-05-17 16:15
$ ./python -m test -R 3:3 test_super
[1/1] test_super
beginning 6 repetitions
123456
test test_super failed -- Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_super.py", line 97, in test_various___class___pathologies
    self.assertIs(X.x, type(self))
AssertionError: 42 is not <class 'test.test_super.TestSuper'>
msg189468 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-05-17 16:33
New changeset b4553d22c163 by Benjamin Peterson in branch 'default':
reset __class__, so multiple runs don't fail (closes #17999)
http://hg.python.org/cpython/rev/b4553d22c163
History
Date User Action Args
2022-04-11 14:57:45adminsetgithub: 62199
2013-05-17 16:33:38python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg189468

resolution: fixed
stage: needs patch -> resolved
2013-05-17 16:15:33pitroucreate