detect-test-pollution icon indicating copy to clipboard operation
detect-test-pollution copied to clipboard

"FileNotFoundError: [Errno 2] No such file or directory" when test could not load module

Open imomaliev opened this issue 2 years ago • 0 comments

Hi. Hope this helps. Thanks to @cdce8p. Here are steps to reproduce #6

$ echo "from unknown import Unknown

def test():
    assert True" > t.py
$ echo "t.py::test" > testids
$ detect-test-pollution \
    --failing-test t.py::test \
    --testids-file testids

imomaliev avatar Apr 08 '22 17:04 imomaliev