示例#1
0
def test_core_basic():
    for c in (Atom, Atom(),
              Basic, Basic(),
              # XXX: dynamically created types are not picklable
              # BasicType, BasicType("test", (), {}),
              SingletonRegistry, SingletonRegistry()):
        check(c)
示例#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)