[pypy-svn] r42138 - pypy/dist/pypy/module/rsocket/test

afa at codespeak.net afa at codespeak.net
Tue Apr 17 22:13:14 CEST 2007


Author: afa
Date: Tue Apr 17 22:13:13 2007
New Revision: 42138

Modified:
   pypy/dist/pypy/module/rsocket/test/test_sock_app.py
Log:
This test should not run on win32, after all.


Modified: pypy/dist/pypy/module/rsocket/test/test_sock_app.py
==============================================================================
--- pypy/dist/pypy/module/rsocket/test/test_sock_app.py	(original)
+++ pypy/dist/pypy/module/rsocket/test/test_sock_app.py	Tue Apr 17 22:13:13 2007
@@ -301,6 +301,8 @@
 
     def test_socket_close_error(self):
         import _socket, os
+        if os.name == 'nt':
+            skip("Windows sockets are not files")
         s = _socket.socket(_socket.AF_INET, _socket.SOCK_STREAM, 0)
         os.close(s.fileno())
         raises(_socket.error, s.close)



More information about the Pypy-commit mailing list