[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib/test test_ntpath.py,1.2,1.3 (original) (raw)

Fred L. Drake, Jr. fdrake@beopen.com
Mon, 14 Aug 2000 10:46:17 -0400 (EDT)


Mark Hammond writes:

Test for fix to bug #110673: os.abspatth() now always returns os.getcwd() on Windows, if an empty path is specified. It previously did not if an empty path was delegated to win32api.GetFullPathName()) ...

This doesn't work. The test should pass on non-Windows platforms as well; on Linux I get this:

cj42289-a(.../python/linux-beowolf); ./python ../Lib/test/test_ntpath.py error! evaluated: ntpath.abspath("") should be: /home/fdrake/projects/python/linux-beowolf returned: \home\fdrake\projects\python\linux-beowolf\

1 errors.

-Fred

-- Fred L. Drake, Jr. BeOpen PythonLabs Team Member