Author: Philip Jenvey <[email protected]>
Branch: stdlib-3.2.5
Changeset: r70401:fb6aa1ffe82b
Date: 2014-04-01 16:43 -0700
http://bitbucket.org/pypy/pypy/changeset/fb6aa1ffe82b/
Log: exact error messages are an impl detail. we may revisit these in
3.4, when cpython changes many of these messages, anyway
diff --git a/lib-python/3/test/test_io.py b/lib-python/3/test/test_io.py
--- a/lib-python/3/test/test_io.py
+++ b/lib-python/3/test/test_io.py
@@ -1041,7 +1041,7 @@
def test_args_error(self):
# Issue #17275
- with self.assertRaisesRegex(TypeError, "BufferedReader"):
+ with self.assertRaisesRegex(TypeError, "__init__()"):
self.tp(io.BytesIO(), 1024, 1024, 1024)
@@ -1329,7 +1329,7 @@
def test_args_error(self):
# Issue #17275
- with self.assertRaisesRegex(TypeError, "BufferedWriter"):
+ with self.assertRaisesRegex(TypeError, "__init__()"):
self.tp(io.BytesIO(), 1024, 1024, 1024)
@@ -1705,7 +1705,7 @@
def test_args_error(self):
# Issue #17275
- with self.assertRaisesRegex(TypeError, "BufferedRandom"):
+ with self.assertRaisesRegex(TypeError, "__init__()"):
self.tp(io.BytesIO(), 1024, 1024, 1024)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit