[issue46416] Direct invocation of `Lib/test/test_typing.py` fails

Christian Heimes report at bugs.python.org
Mon Jan 24 11:33:39 EST 2022


Christian Heimes <lists at cheimes.de> added the comment:

I noticed that you have been looking into the __main__ block of test modules. Wouldn't it make more sense to just remove the __main__ and have all tests go through regrtest? Everybody should use

   ./python -m regrtest test_typing

or the Windows equivalent to run typing tests.

----------
nosy: +christian.heimes

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46416>
_______________________________________


More information about the Python-bugs-list mailing list