Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r77423:dfe071266c9e
Date: 2015-05-20 10:59 +0200
http://bitbucket.org/pypy/pypy/changeset/dfe071266c9e/

Log:    Remove this file: it could be done by running a generic test on top
        of a CPython in which we assume that cffi 1.0 is available, but it's
        not worth it for this file. (There is anyway lib-
        python/2.7/test_pwd.)

diff --git a/pypy/module/test_lib_pypy/test_pwd.py 
b/pypy/module/test_lib_pypy/test_pwd.py
deleted file mode 100644
--- a/pypy/module/test_lib_pypy/test_pwd.py
+++ /dev/null
@@ -1,15 +0,0 @@
-import py, sys
-
-class AppTestPwd:
-    spaceconfig = dict(usemodules=('_rawffi', 'itertools', 'binascii'))
-
-    def setup_class(cls):
-        if sys.platform == 'win32':
-            py.test.skip("Unix only")
-        cls.space.appexec((), "(): import pwd")
-
-    def test_getpwuid(self):
-        import os, pwd
-        passwd_info = pwd.getpwuid(os.getuid())
-        assert type(passwd_info).__name__ == 'struct_passwd'
-        assert repr(passwd_info).startswith("pwd.struct_passwd(pw_name=")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to