Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r89419:de42c521f47a
Date: 2017-01-08 16:45 +0100
http://bitbucket.org/pypy/pypy/changeset/de42c521f47a/

Log:    fix

diff --git a/pypy/module/sys/test/test_sysmodule.py 
b/pypy/module/sys/test/test_sysmodule.py
--- a/pypy/module/sys/test/test_sysmodule.py
+++ b/pypy/module/sys/test/test_sysmodule.py
@@ -32,7 +32,7 @@
         w_sys.flush_std_files(space)
 
         msg = space.bytes_w(space.call_function(w_read))
-        assert 'Exception OSError' in msg
+        assert 'Exception ignored in:' in msg and '\nOSError' in msg
     finally:
         space.setattr(w_sys, space.wrap('stdout'), w_sys.get('__stdout__'))
         space.setattr(w_sys, space.wrap('stderr'), w_sys.get('__stderr__'))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to