]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
I found that when run as a script, this test suite ran its tests
authorGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 21:07:08 +0000 (21:07 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 21:07:08 +0000 (21:07 +0000)
commit78f0dd3397f77df3b4b3d13c686a33af14a70af8
treef1ee37ed97de9fa1b5a0ac73979c566eb802d09e
parent25059d30c39c0c703161987643f0c29df03147fb
I found that when run as a script, this test suite ran its tests
twice!  Fixed this by avoiding the import of test_email, which loads
the module a second time in that situation, and fiddled the __main__
section to resemble other test suites using unittest.
Lib/test/test_email.py