Nick Coghlan added the comment: That reminds me: I ended up working around this in the runpy tests by only checking the loader type was correct in the module specs. With an improved definition of equality for loaders, the runpy tests could be both simplified *and* made more rigorous at the same time (by simply comparing specs for equality, the same as the other module level attributes).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19927> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com