Commits

Philip Jenvey committed 4c3946a

now an AttributeError on py3

Comments (0)

Files changed (1)

pypy/interpreter/test/test_module.py

         delattr(m, 'x')
         raises(AttributeError, getattr, m, 'x')
         raises(AttributeError, delattr, m, 'x')
-        raises(TypeError, setattr, m, '__dict__', {})
+        raises(AttributeError, setattr, m, '__dict__', {})
 
     def test_docstring(self):
         import sys