Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r59340:f57746612e14
Date: 2012-12-05 17:12 -0800
http://bitbucket.org/pypy/pypy/changeset/f57746612e14/

Log:    more now AttributeErrors

diff --git a/pypy/module/thread/test/test_local.py 
b/pypy/module/thread/test/test_local.py
--- a/pypy/module/thread/test/test_local.py
+++ b/pypy/module/thread/test/test_local.py
@@ -75,9 +75,8 @@
     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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to