Esempio n. 1
0
def test_core_basic():
    for c in (Atom, Atom(),
              Basic, Basic(),
              # XXX: dynamically created types are not picklable
              # BasicMeta, BasicMeta("test", (), {}),
              # BasicType, BasicType("test", (), {}),
              ClassRegistry, ClassRegistry(),
              SingletonRegistry, SingletonRegistry()):
        check(c)
Esempio n. 2
0
def test_core_basic():
    for c in (Atom, Atom(), Basic, Basic(), BasicMeta,
              BasicMeta("test"), BasicType, BasicType("test"), ClassRegistry,
              ClassRegistry(), SingletonRegistry, SingletonRegistry()):
        check(c)