Commits

Christian Tismer committed 82f5470

test_chdir is fixed now for win32

  • Participants
  • Parent commits 689e57b
  • Branches win64_gborg

Comments (0)

Files changed (1)

File pypy/rpython/module/test/test_ll_os.py

         import ctypes
         buf = ctypes.create_string_buffer(1000)
         ctypes.windll.kernel32.GetEnvironmentVariableA('=%c:' % pwd[0], buf, 1000)
-        assert str(buf.value) == pwd
+        assert str(buf.value).lower() == pwd
+        # ctypes returns the drive letter in uppercase, os.getcwd does not
 
     pwd = os.getcwd()
     try: