Author: Matti Picus <[email protected]>
Branch: 
Changeset: r70342:9308b3e48ee7
Date: 2014-03-31 08:06 +0300
http://bitbucket.org/pypy/pypy/changeset/9308b3e48ee7/

Log:    remove quotes for windows

diff --git a/lib-python/2.7/ssl.py b/lib-python/2.7/ssl.py
--- a/lib-python/2.7/ssl.py
+++ b/lib-python/2.7/ssl.py
@@ -193,6 +193,7 @@
                     self.__class__)
             while True:
                 try:
+                    import pdb;pdb.set_trace()
                     v = self._sslobj.write(data)
                 except SSLError, x:
                     if x.args[0] == SSL_ERROR_WANT_READ:
diff --git a/pypy/module/test_lib_pypy/test_site_extra.py 
b/pypy/module/test_lib_pypy/test_site_extra.py
--- a/pypy/module/test_lib_pypy/test_site_extra.py
+++ b/pypy/module/test_lib_pypy/test_site_extra.py
@@ -4,8 +4,11 @@
 def test_preimported_modules():
     lst = ['__builtin__', '_codecs', '_warnings', 'codecs', 'encodings',
            'exceptions', 'signal', 'sys', 'zipimport']
-    g = os.popen('"%s" -c "import sys; print sorted(sys.modules)"' %
-                 (sys.executable,))
+    if sys.platform == 'win32':
+        cmd = '%s' % (sys.executable,)
+    else:
+        cmd = '"%s"' % (sys.executable,)
+    g = os.popen(cmd + ' -c "import sys; print sorted(sys.modules)"')
     real_data = g.read()
     g.close()
     for name in lst:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to