@dec.skipif(l.disable_lazy_imports)
def test_lazy_noreload():
    mod = l.LazyImport('sys')
    # accessing module dictionary will trigger an import
    len(mod.__dict__)
    # do not use named tuple feature for Python 2.6 compatibility
    major, minor = sys.version_info[:2]
    if major == 2:
        npt.assert_raises(ImportError, reload, mod)
    elif major == 3:
        import imp
        if minor == 2:
            npt.assert_raises(ImportError, imp.reload, mod)
        elif minor == 3:
            npt.assert_raises(TypeError, imp.reload, mod)
We have received a leave event for a room. Fully process it.
dataset/ETHPy150Open nipy/nitime/nitime/tests/test_lazy.py/test_lazy_noreload--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/federation.py/FederationHandler.on_send_leave_request