[issue26878] Allow doctest to deep copy globals

DqASe report at bugs.python.org
Thu Apr 28 18:41:40 EDT 2016


DqASe added the comment:

Alternatively, add an option like deepglobs={...} . The dictionary argument would be deep-copied at each test and added to the environment.

----------

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


More information about the Python-bugs-list mailing list