[pypy-svn] r39627 - pypy/dist/pypy/module/_ssl
fijal at codespeak.net
fijal at codespeak.net
Thu Mar 1 13:46:42 CET 2007
Author: fijal
Date: Thu Mar 1 13:46:41 2007
New Revision: 39627
Modified:
pypy/dist/pypy/module/_ssl/__init__.py
Log:
(fijal, arigo, guido_w) - Raise import error instead of py.test.skip
to be able to import socket on top of py.py
Modified: pypy/dist/pypy/module/_ssl/__init__.py
==============================================================================
--- pypy/dist/pypy/module/_ssl/__init__.py (original)
+++ pypy/dist/pypy/module/_ssl/__init__.py Thu Mar 1 13:46:41 2007
@@ -1,6 +1,7 @@
-import py # FINISHME - more thinking needed
-py.test.skip("The _ssl module is only usable when running on the exact "
- "same platform from which the ssl.py was computed.")
+#import py # FINISHME - more thinking needed
+raise ImportError
+#skip("The _ssl module is only usable when running on the exact "
+# "same platform from which the ssl.py was computed.")
# This module is imported by socket.py. It should *not* be used
# directly.
More information about the Pypy-commit
mailing list