You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first test item is bogus - it should be examples/seq2seq/test_broken_collect.py::test_no_unittest (i.e. 2 colons and not 4). If we feed it back to pytest it fails to run a test it reported it collected.
update: I first thought it had to do with mixing unittest, but it fails with just normal tests w/o classes too:
When
pytest-pspec
is installedpytest --collect-only -q
fails to deal with tests that have no classes, seems to be the case with unittest or withoutHere is a simple test module with one normal test and one unittest:
Let's collect:
Getting:
The first test item is bogus - it should be
examples/seq2seq/test_broken_collect.py::test_no_unittest
(i.e. 2 colons and not 4). If we feed it back topytest
it fails to run a test it reported it collected.update: I first thought it had to do with mixing unittest, but it fails with just normal tests w/o classes too:
same problem, getting
test_broken_collect.py::::test_no_unittest
Thanks.
The text was updated successfully, but these errors were encountered: