]> granicus.if.org Git - python/commit
New tests:
authorTim Peters <tim.peters@gmail.com>
Mon, 2 Aug 2004 03:58:27 +0000 (03:58 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 2 Aug 2004 03:58:27 +0000 (03:58 +0000)
commit08138fdc7a6b417c6350b1c41fada770d73995a5
treed20702a3d28c91e30b194fdae2314bad964b3d22
parentd464838ebcf68659617a62abf5e0d04a5425ddfc
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>.
Lib/test/test_import.py