Author: Armin Rigo <[email protected]>
Branch:
Changeset: r78229:8fca06d46f8c
Date: 2015-06-21 14:30 +0200
http://bitbucket.org/pypy/pypy/changeset/8fca06d46f8c/
Log: Test fix
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
@@ -316,7 +316,8 @@
cls.w_udir = space.wrap(str(udir))
def teardown_class(cls):
- cls.space.sys.getmodule('_socket').shutdown(cls.space)
+ if not cls.runappdirect:
+ cls.space.sys.getmodule('_socket').shutdown(cls.space)
def test_module(self):
import _socket
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit