Hi all,

Py.test dies with an assertion error when I change the name
of a failing test, or move the file or directory it's in. It
looks like it's just trying to get the result of the test without
checking whether it exists first.

This is with the HEAD revision.

Neil

----------------
Example:

[test_blah.py]
def test_blah():
    assert False

$ py.test --looponfailing

[edit test_blah.py]
-def test_blah():
+def test_x():

Traceback (most recent call last):
...
AssertionError: Collector <Module 'test_blah.py'> does not have name
'test_blah' existing names are: ['test_blah.py']

_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to