Author: Brian Kearns <[email protected]>
Branch: stdlib-2.7.6
Changeset: r69638:3d01ddb145ff
Date: 2014-03-03 04:32 -0500
http://bitbucket.org/pypy/pypy/changeset/3d01ddb145ff/

Log:    fix test_pwd on 32bit

diff --git a/pypy/module/pwd/interp_pwd.py b/pypy/module/pwd/interp_pwd.py
--- a/pypy/module/pwd/interp_pwd.py
+++ b/pypy/module/pwd/interp_pwd.py
@@ -51,8 +51,8 @@
     w_tuple = space.newtuple([
         space.wrap(rffi.charp2str(pw.c_pw_name)),
         space.wrap(rffi.charp2str(pw.c_pw_passwd)),
-        space.wrap(pw.c_pw_uid),
-        space.wrap(pw.c_pw_gid),
+        space.int(space.wrap(pw.c_pw_uid)),
+        space.int(space.wrap(pw.c_pw_gid)),
         space.wrap(rffi.charp2str(pw.c_pw_gecos)),
         space.wrap(rffi.charp2str(pw.c_pw_dir)),
         space.wrap(rffi.charp2str(pw.c_pw_shell)),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to