Commits

Amaury Forgeot d'Arc committed 4d909b8

Add msvcrt.setmode, this should help some tests in test_subprocess

  • Participants
  • Parent commits 0f7cde5
  • Branches trunk

Comments (0)

Files changed (2)

File lib-python/win32-failures.txt

 These tests currently fail on win32:
 
-test_cmd_line
+test_cmd_line       TODO: implement os.popen4
 test_file
 test_hashlib
 test_hmac

File pypy/lib/msvcrt.py

 get_osfhandle.argtypes = [ctypes.c_int]
 get_osfhandle.restype = ctypes.c_int
 
+setmode = _c._setmode
+setmode.argtypes = [ctypes.c_int, ctypes.c_int]
+setmode.restype = ctypes.c_int
+
 del ctypes