[issue20534] Enum tests fail with pickle protocol 4

Antoine Pitrou report at bugs.python.org
Thu Feb 6 23:09:29 CET 2014


Antoine Pitrou added the comment:

Those tracebacks don't correspond to line numbers in the stdlib enum.py.

Regardless, the two tests fail understandably: they define a class in the local namespace and then monkeypatch globals() with it, but don't adjust the __qualname__.

----------

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


More information about the Python-bugs-list mailing list