1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/a5419e5024d9/ Changeset: a5419e5024d9 User: hpk42 Date: 2013-11-22 15:12:12 Summary: add a note to the documentation that pytest does not mimick nose try to perform "import isolation". Addresses issue268. Affected #: 1 file
diff -r 4ff693c6e4436ff1abb6f2a7da96b73d0bae1993 -r a5419e5024d9719d49f7d3fc8ff1811021a106c3 doc/en/nose.txt --- a/doc/en/nose.txt +++ b/doc/en/nose.txt @@ -39,6 +39,13 @@ If you however rather think pytest should support the unittest-spelling on plain classes please post `to this issue <https://bitbucket.org/hpk42/pytest/issue/377/>`_. + +- nose imports test modules with the same import path (e.g. + ``tests.test_mod``) but different file system paths + (e.g. ``tests/test_mode.py`` and ``other/tests/test_mode.py``) + by extending sys.path/import semantics. pytest does not do that + but there is discussion in `issue268 <https://bitbucket.org/hpk42/pytest/issue/268>`_ for adding some support. Note that + `nose2 choose to avoid this sys.path/import hackery <https://nose2.readthedocs.org/en/latest/differences.html#test-discovery-and-loading>`_. - nose-style doctests are not collected and executed correctly, also doctest fixtures don't work. Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit