python-m unittest2发现不工作
我正在使用优秀的Tox工具来测试我的代码。这是我的tox.ini: 运行它时,所有测试都在除3.1之外的所有版本上执行。毒物检测显示:python-m unittest2发现不工作,python,unit-testing,python-3.x,unittest2,python-3.1,Python,Unit Testing,Python 3.x,Unittest2,Python 3.1,我正在使用优秀的Tox工具来测试我的代码。这是我的tox.ini: 运行它时,所有测试都在除3.1之外的所有版本上执行。毒物检测显示: py31 sdist-reinst: /home/miki/exp/radon/.tox/dist/radon-0.1.zip py31 runtests: commands[0] ---------------------------------------------------------------------- Ran 0 tests in 0.00
py31 sdist-reinst: /home/miki/exp/radon/.tox/dist/radon-0.1.zip
py31 runtests: commands[0]
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
为什么不执行测试?系统布局如下:
tests/
test_internals.py
test_complexity.py
...
radon/
...
setup.py
tox.ini
感谢@delnan的编辑!这可能是一个bug,所以我要归档一个。
tests/
test_internals.py
test_complexity.py
...
radon/
...
setup.py
tox.ini