New issue 762: py.test doesn't reimport changed modules https://bitbucket.org/pytest-dev/pytest/issue/762/pytest-doesnt-reimport-changed-modules
caryoscelus: Test case: ``` #!python #module.py def fail(): raise Exception('fail') ``` ``` #!python #test_a.py import module def do_nothing(): pass module.fail = do_nothing def test_nofail(): module.fail() ``` ``` #!python #test_b.py import module import pytest def test_fail(): with pytest.raises(Exception): module.fail() ``` ```pytest test_b.py``` runs fine, but just ```pytest``` fails _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit