[issue30874] unittest execute tests twice in some conditions

Louie Lu report at bugs.python.org
Sat Jul 15 01:12:07 EDT 2017


Louie Lu added the comment:

On my MacOS with python 3.5.2 get this result:


➜  unittest-1 git:(master) ✗ python3 setup.py test
running test
running egg_info
writing dependency_links to Test_1.egg-info/dependency_links.txt
writing top-level names to Test_1.egg-info/top_level.txt
writing Test_1.egg-info/PKG-INFO
reading manifest file 'Test_1.egg-info/SOURCES.txt'
writing manifest file 'Test_1.egg-info/SOURCES.txt'
running build_ext
running test
running egg_info
writing dependency_links to Test_1.egg-info/dependency_links.txt
writing top-level names to Test_1.egg-info/top_level.txt
writing Test_1.egg-info/PKG-INFO
reading manifest file 'Test_1.egg-info/SOURCES.txt'
writing manifest file 'Test_1.egg-info/SOURCES.txt'
running build_ext
test_fix_all (test_main.MainTestCase) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s


with Python 3.7.a0 got this result:

➜  unittest-1 git:(master) ✗ /Users/louielu/Python/cpython/python.exe -m unittest
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK



I think it will be more like a setting issue, not unittest problem.

----------
nosy: +louielu

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


More information about the Python-bugs-list mailing list