Commits

Anders Chrigström  committed 76e7163

Non-mappings fail differently in PyPy.

  • Participants
  • Parent commits d990abe

Comments (0)

Files changed (1)

File lib-python/modified-2.4.1/test/test_builtin.py

             "Non-mapping"
             pass
         m = A()
-        self.assertRaises(TypeError, eval, 'a', g, m)
+        self.assertRaises((TypeError, AttributeError) , eval, 'a', g, m)
 
         # Verify that dict subclasses work as well
         class D(dict):