[pypy-commit] pypy stdlib-2.7.3: PyPy has better errors messages here IMO. Update test.

amauryfa noreply at buildbot.pypy.org
Sat Jul 7 23:01:43 CEST 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: stdlib-2.7.3
Changeset: r55983:1d4c4f90ec27
Date: 2012-07-07 23:00 +0200
http://bitbucket.org/pypy/pypy/changeset/1d4c4f90ec27/

Log:	PyPy has better errors messages here IMO. Update test.

diff --git a/lib-python/2.7/test/test_pydoc.py b/lib-python/2.7/test/test_pydoc.py
--- a/lib-python/2.7/test/test_pydoc.py
+++ b/lib-python/2.7/test/test_pydoc.py
@@ -291,10 +291,10 @@
         modname = 'testmod_xyzzy'
         testpairs = (
             ('i_am_not_here', 'i_am_not_here'),
-            ('test.i_am_not_here_either', 'i_am_not_here_either'),
-            ('test.i_am_not_here.neither_am_i', 'i_am_not_here'),
-            ('i_am_not_here.{}'.format(modname), 'i_am_not_here.{}'),
-            ('test.{}'.format(modname), modname),
+            ('test.i_am_not_here_either', 'test.i_am_not_here_either'),
+            ('test.i_am_not_here.neither_am_i', 'test.i_am_not_here'),
+            ('i_am_not_here.{}'.format(modname), 'i_am_not_here'),
+            ('test.{}'.format(modname), 'test.{}'.format(modname)),
             )
 
         sourcefn = os.path.join(TESTFN, modname) + os.extsep + "py"


More information about the pypy-commit mailing list