Commits

Manuel Jacob committed 2cf493e

PyPy's pure python implementation raises IndexError in this case.

  • Participants
  • Parent commits 177135a
  • Branches py3k

Comments (0)

Files changed (1)

lib-python/3.2/test/pickletester.py

         self.assertRaises(EOFError, pickle.loads, s)
         # Test issue7455
         s = b'0'
-        self.assertRaises(pickle.UnpicklingError, pickle.loads, s)
+        self.assertRaises((pickle.UnpicklingError, IndexError),
+                          pickle.loads, s)
 
 
 class AbstractPersistentPicklerTests(unittest.TestCase):