[pypy-commit] pypy default: oops this doesnt make sense for windows
bdkearns
noreply at buildbot.pypy.org
Tue Jan 29 12:18:54 CET 2013
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r60665:9384b83b4442
Date: 2013-01-29 06:17 -0500
http://bitbucket.org/pypy/pypy/changeset/9384b83b4442/
Log: oops this doesnt make sense for windows
diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py
--- a/pypy/module/_socket/test/test_sock_app.py
+++ b/pypy/module/_socket/test/test_sock_app.py
@@ -369,7 +369,8 @@
s.close()
assert s.fileno() < 0
s.close()
- raises(OSError, os.close, fileno)
+ if os.name != 'nt':
+ raises(OSError, os.close, fileno)
def test_socket_close_error(self):
import _socket, os
More information about the pypy-commit
mailing list