Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r84546:f0d05ad44099
Date: 2016-05-20 17:17 -0700
http://bitbucket.org/pypy/pypy/changeset/f0d05ad44099/

Log:    error msg impl details

diff --git a/lib-python/3/test/test_socket.py b/lib-python/3/test/test_socket.py
--- a/lib-python/3/test/test_socket.py
+++ b/lib-python/3/test/test_socket.py
@@ -691,10 +691,11 @@
         # wrong number of args
         with self.assertRaises(TypeError) as cm:
             s.sendto(b'foo')
-        self.assertIn(' given)', str(cm.exception))
+        if support.check_impl_detail():
+            self.assertIn(' given)', str(cm.exception))
         with self.assertRaises(TypeError) as cm:
             s.sendto(b'foo', 0, sockname, 4)
-        self.assertIn(' given)', str(cm.exception))
+        self.assertIn(' given', str(cm.exception))
 
     def testCrucialConstants(self):
         # Testing for mission critical constants
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to