[pypy-svn] r79741 - pypy/branch/fast-forward/pypy/translator/goal/test2

afa at codespeak.net afa at codespeak.net
Thu Dec 2 14:03:15 CET 2010


Author: afa
Date: Thu Dec  2 14:03:14 2010
New Revision: 79741

Modified:
   pypy/branch/fast-forward/pypy/translator/goal/test2/test_app_main.py
Log:
dont print the sys.flags both in the test (the second one is wrong btw: it comes from the host CPython)


Modified: pypy/branch/fast-forward/pypy/translator/goal/test2/test_app_main.py
==============================================================================
--- pypy/branch/fast-forward/pypy/translator/goal/test2/test_app_main.py	(original)
+++ pypy/branch/fast-forward/pypy/translator/goal/test2/test_app_main.py	Thu Dec  2 14:03:14 2010
@@ -409,7 +409,7 @@
             ("bytes_warning", "-b", "1"),
         )
         for flag, opt, value in flags:
-            cmd = "%s --print-sys-flags -c 'import sys; print sys.flags'"
+            cmd = "%s --print-sys-flags -c pass"
             data = self.run(cmd % (opt,), expect_prompt=opt == "-i")
             assert "%s=%s" % (flag, value) in data
 



More information about the Pypy-commit mailing list