[pypy-svn] r74052 - pypy/trunk/lib-python/modified-2.5.2/test
arigo at codespeak.net
arigo at codespeak.net
Sun Apr 25 12:06:05 CEST 2010
Author: arigo
Date: Sun Apr 25 12:06:03 2010
New Revision: 74052
Modified:
pypy/trunk/lib-python/modified-2.5.2/test/test_socket.py
Log:
Be more permissive here.
Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_socket.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_socket.py (original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_socket.py Sun Apr 25 12:06:03 2010
@@ -323,7 +323,7 @@
# self.assertRaises(OverflowError, func, 1<<size)
# self.assertRaises(OverflowError, func, 1L<<size)
# the following was fixed on CPython >= 2.6:
- self.assertRaises(OverflowError, func, -1)
+ self.assertRaises((OverflowError, ValueError), func, -1)
def testGetServBy(self):
eq = self.assertEqual
More information about the Pypy-commit
mailing list