def test_cloning():
    new_element = Element.named(u'x')
    assert isinstance(new_element, type)
    assert new_element.__module__ != Element.__module__
    assert 'test_base' in new_element.__module__
dataset/ETHPy150Open jek/flatland/tests/schema/test_base.py/test_cloning/original