Robert Collins added the comment: reviewed in rietvald, but here too just in case.
The hunk that saves/restores _top_level_dir feels wrong to me - and not part of this bug, please remove it. The rest of the patch is fine today. But it also needs to add two specifically namespace tests: concretely we need the following cases covered: a) namespace subdir/namespace subdir/test_foo.py gets loaded b) namespace subdir/test_foo.py with another instance of the namespace subdir on sys.path also containing e.g. test_bar.py, test_bar.py is not loaded. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com