New submission from STINNER Victor: haypo@smithers$ ./python Lib/test/test_fork1.py Traceback (most recent call last): File "Lib/test/test_fork1.py", line 111, in <module> unittest.main() NameError: name 'unittest' is not defined
According to pyflakes, the error "undefined name 'unittest'" is found in: - test_fork1 - test_list - test_pyclbr - test_telnetlib - test_tuple - test_userdict - test_userlist - test_wait4 I put the "easy" flag to give a simple issue to newcomers in Python ;-) Please check other Python version: 2.7 and 3.5. I'm too lazy to check myself :-D See issue the issue #25783 which is similar. ---------- components: Tests keywords: easy messages: 255856 nosy: haypo priority: normal severity: normal status: open title: test_fork1 cannot be run directly: ./pyhon Lib/test/test_fork1.py versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25795> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com