Author: Christian Tismer <tis...@stackless.com> Branch: win64_gborg Changeset: r48974:82f5470affc1 Date: 2011-11-08 20:52 +0100 http://bitbucket.org/pypy/pypy/changeset/82f5470affc1/
Log: test_chdir is fixed now for win32 diff --git a/pypy/rpython/module/test/test_ll_os.py b/pypy/rpython/module/test/test_ll_os.py --- a/pypy/rpython/module/test/test_ll_os.py +++ b/pypy/rpython/module/test/test_ll_os.py @@ -81,7 +81,8 @@ 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: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit