[issue22858] unittest.__init__:main shadows unittest.main

Robert Collins report at bugs.python.org
Wed Jul 15 04:33:03 CEST 2015


Robert Collins added the comment:

So unittest.main, the symbol, needs to exist.

What currently references unittest.main, the module, today?

AFAICT its only accessible vis sys.modules['unittest.main'] because of the shadowing.

----------

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


More information about the Python-bugs-list mailing list