[issue25699] Easier way to specify reduced globals for doctest

R. David Murray report at bugs.python.org
Mon Nov 23 11:54:02 EST 2015


R. David Murray added the comment:

I don't understand what the problem is you are trying to solve.  Doctests are designed to run with a copy of the module global scope.  If pyflakes does not understand that, it is a pyflakes bug, but it doesn't sound like that's the issue.  It sounds like you want to use a different global scope, in which case I think the onus is on you to deal with it.

I'm -1 on this request.  I don't think the additional complexity is worthwhile.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list