Éric Araujo <mer...@netwok.org> added the comment: Your tests contain this:
+ sys.path.append(source) When using regrtest (see http://docs.python.org/devguide/runtests#running), you’ll get a warning that test_packaging altered sys.path. Your code should make sure sys.path is restored to its previous test: + self.addCleanup(sys.path.remove, source) sys.path.append(source) See the unittest.TestCase doc for more about addCleanup and tearDown. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12394> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com