I'm using tox and py.test to run my Python unittests, and even though I'm using py.test's --tb=long option, errors are showing like:
E ConftestImportFailure: (local('/myproject/tests/functional_tests/conftest.py'), (<type 'exceptions.ImportError'>, ImportError('No module named blah',), <traceback object at 0x7fb5bb740518>))
Run Code Online (Sandbox Code Playgroud)
Tox is running the command:
py.test -rxs -rf -rs --ff --tb=long -x -k testname
Run Code Online (Sandbox Code Playgroud)
How do I make is show the full traceback? I can't find anything mentioning this in the docs besides the --tb option.
| 归档时间: |
|
| 查看次数: |
1772 次 |
| 最近记录: |