Éric Araujo added the comment: > imports from previous unittests corrupt the namespace of subsequent unittests > and lead to failures > (usually if there are mock objects in previously imported unit tests)
Can you tell more about this? I haven’t run into this issue with large test suites that use mocks (and mock.path monkey-patching) heavily (probably because mock.patch is active for one test method only). ---------- nosy: +eric.araujo, michael.foord versions: -Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21133> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com