commit | 08138fdc7a6b417c6350b1c41fada770d73995a5 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Aug 02 03:58:27 2004 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Aug 02 03:58:27 2004 +0000 |
tree | d20702a3d28c91e30b194fdae2314bad964b3d22 | |
parent | d464838ebcf68659617a62abf5e0d04a5425ddfc [diff] |
New tests: test_failing_import_sticks -- if an import raises an exception, ensure that trying to import it again continues raising exceptions test_failing_reload -- if a module loads OK, but a reload raises an exception, ensure that the module is still in sys.modules, and that its __dict__ reflects as much of the reload attempt as succeeded. That doesn't seem like sane semantics, but it is backward-compatible semantics <wink>.