pypy.objspace.std.test.apptest_typeobjject:test_attribute_error
def test_attribute_error():
class X(object):
__module__ = 'test'
x = X()
> exc = raises(AttributeError, "x.a")
E TypeError: 'x.a' object (type: <class 'str'>) must be callable
../build/pypy/objspace/std/test/apptest_typeobjject.py:152: TypeError
builder: pypy-c-jit-linux-x86-32 build #8403+
test: pypy.objspace.std.test.apptest_typeobjject:test_attribute_error