Author: marky1991
Branch: py3.3
Changeset: r81700:878013c28c6f
Date: 2015-12-20 19:56 -0500
http://bitbucket.org/pypy/pypy/changeset/878013c28c6f/
Log: Fix sys module testing.
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,8 @@
w_sys.flush_std_files(space)
msg = space.bytes_w(space.call_function(w_read))
- assert 'Exception IOError' in msg
+ #IOError has become an alias for OSError
+ assert 'Exception OSError' 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
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit