Antoine Pitrou <pit...@free.fr> added the comment: > One, you have some "XXX False" markers in the tests. Should those get > deleted or replaced with something?
Well, I don't know what to replace them with. I would have expected pkg.module to end up in sys.modules, but as mentioned in the comments the relative import line actually fails with an ImportError. There's probably some logic behind that, but that's beyond me. > Two, in your first test (at least) you only test what is in > sys.modules once instead of after each attempted import. I would > repeat the test after each import. Ok, will do. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14583> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com