• Tim Peters's avatar
    New tests: · 08138fdc
    Tim Peters yazdı
        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>.
    08138fdc
test_import.py 5.42 KB