Commits

Philip Jenvey committed f577466

more now AttributeErrors

  • Participants
  • Parent commits c61df21
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/thread/test/test_local.py

     def test_local_setdict(self):
         import _thread
         x = _thread._local()
-        # XXX: On Cpython these are AttributeErrors
-        raises(TypeError, "x.__dict__ = 42")
-        raises(TypeError, "x.__dict__ = {}")
+        raises(AttributeError, "x.__dict__ = 42")
+        raises(AttributeError, "x.__dict__ = {}")
 
         done = []
         def f(n):