commit | 659dd625b4c3489fbefe9fa866d87bc2b5e14366 | [log] [tgz] |
---|---|---|
author | Robert Collins <rbtcollins@hp.com> | Thu Oct 30 08:27:27 2014 +1300 |
committer | Robert Collins <rbtcollins@hp.com> | Thu Oct 30 08:27:27 2014 +1300 |
tree | 20fe35b94b5a869c3817810a37fa051af09af73e | |
parent | c1345840202fed6f1405efec97cd2a147aa5a92e [diff] |
Close #7559: ImportError when loading a test now shown as ImportError. Previously the ImportError was only shown if the top level containing package failed to import, with other ImportErrors showing up as AttributeError - hiding the real cause. As part of this, `TestLoader.loadTestsFromNames` now captures errors to self.errors.