'L{aot.jellyToSource} should raise a C{TypeError} when trying to jelly
an unknown type without a C{__dict__} property or C{__getstate__}
method.'

def test_unsupportedType(self):

    class UnknownType(object, ):
        @property
        def __dict__(self):
            raise AttributeError()
    self.assertRaises(TypeError, aot.jellyToSource, UnknownType())
