[pypy-svn] pypy default: Consider the exact error message from there as an impl detail.

arigo commits-noreply at bitbucket.org
Fri Jan 21 15:08:27 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41133:16122d367ee2
Date: 2011-01-21 15:08 +0100
http://bitbucket.org/pypy/pypy/changeset/16122d367ee2/

Log:	Consider the exact error message from there as an impl detail.

diff --git a/lib-python/modified-2.7.0/test/test_inspect.py b/lib-python/modified-2.7.0/test/test_inspect.py
--- a/lib-python/modified-2.7.0/test/test_inspect.py
+++ b/lib-python/modified-2.7.0/test/test_inspect.py
@@ -569,7 +569,8 @@
         else:
             self.fail('Exception not raised')
         self.assertIs(type(ex1), type(ex2))
-        self.assertEqual(str(ex1), str(ex2))
+        if check_impl_detail():
+            self.assertEqual(str(ex1), str(ex2))
 
     def makeCallable(self, signature):
         """Create a function that returns its locals(), excluding the


More information about the Pypy-commit mailing list