[pypy-svn] r70037 - pypy/trunk/pypy/lib/test2
afa at codespeak.net
afa at codespeak.net
Wed Dec 9 23:49:01 CET 2009
Author: afa
Date: Wed Dec 9 23:49:00 2009
New Revision: 70037
Modified:
pypy/trunk/pypy/lib/test2/test_grp_extra.py
Log:
skip the grp module on Windows
Modified: pypy/trunk/pypy/lib/test2/test_grp_extra.py
==============================================================================
--- pypy/trunk/pypy/lib/test2/test_grp_extra.py (original)
+++ pypy/trunk/pypy/lib/test2/test_grp_extra.py Wed Dec 9 23:49:00 2009
@@ -1,5 +1,8 @@
import py
-from pypy.lib import grp
+try:
+ from pypy.lib import grp
+except ImportError:
+ py.test.skip("No grp module on this platform")
def test_extra():
py.test.raises(TypeError, grp.getgrnam, False)
More information about the Pypy-commit
mailing list