Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52838:7520b36b4010
Date: 2012-02-24 10:30 +0100
http://bitbucket.org/pypy/pypy/changeset/7520b36b4010/

Log:    be a bit less strict in what to expect in the output. E.g., I get
        some more [platform:execute] lines after the tb

diff --git a/pypy/interpreter/test/test_zpy.py 
b/pypy/interpreter/test/test_zpy.py
--- a/pypy/interpreter/test/test_zpy.py
+++ b/pypy/interpreter/test/test_zpy.py
@@ -101,7 +101,7 @@
     tmpfile.write(TB_NORMALIZATION_CHK)
     tmpfile.close()
 
-    popen = subprocess.Popen([sys.executable, str(pypypath), tmpfilepath],
+    popen = subprocess.Popen([sys.executable, str(pypypath), '-S', 
tmpfilepath],
                              stderr=subprocess.PIPE)
     _, stderr = popen.communicate()
-    assert stderr.endswith('KeyError: <normalized>\n')
+    assert 'KeyError: <normalized>\n' in stderr
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to