Index: Lib/test/test_os.py =================================================================== --- Lib/test/test_os.py (revision 65776) +++ Lib/test/test_os.py (working copy) @@ -295,7 +295,7 @@ if sys.platform == 'win32': def get_file_system(path): import os - root = os.path.splitdrive(os.path.realpath("."))[0] + '\\' + root = os.path.splitdrive(os.path.abspath(path))[0] + '\\' import ctypes kernel32 = ctypes.windll.kernel32 buf = ctypes.create_string_buffer("", 100)