[pypy-commit] pypy stdlib-unification: remove the modified- expectations from test_app_main

RonnyPfannschmidt noreply at buildbot.pypy.org
Fri Apr 13 22:16:24 CEST 2012


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: stdlib-unification
Changeset: r54348:c1ed24dc186f
Date: 2012-04-13 22:15 +0200
http://bitbucket.org/pypy/pypy/changeset/c1ed24dc186f/

Log:	remove the modified- expectations from test_app_main

diff --git a/pypy/translator/goal/test2/test_app_main.py b/pypy/translator/goal/test2/test_app_main.py
--- a/pypy/translator/goal/test2/test_app_main.py
+++ b/pypy/translator/goal/test2/test_app_main.py
@@ -803,7 +803,6 @@
         fake_exe = prefix.join('bin/pypy-c').ensure(file=1)
         expected_path = [str(prefix.join(subdir).ensure(dir=1))
                          for subdir in ('lib_pypy',
-                                        'lib-python/modified-%s' % cpy_ver,
                                         'lib-python/%s' % cpy_ver)]
         
         self.w_goal_dir = self.space.wrap(goal_dir)
@@ -837,9 +836,9 @@
             app_main.os = os
             pypy_c = os.path.join(self.trunkdir, 'pypy', 'translator', 'goal', 'pypy-c')
             newpath = app_main.get_library_path(pypy_c)
-            # we get at least lib_pypy, lib-python/modified-X.Y.Z,
+            # we get at least lib_pypy 
             # lib-python/X.Y.Z, and maybe more (e.g. plat-linux2)
-            assert len(newpath) >= 3
+            assert len(newpath) >= 2
             for p in newpath:
                 assert p.startswith(self.trunkdir)
         finally:


More information about the pypy-commit mailing list