Message322185
From a fresh build on Win10 with VS2017:
python -munittest -v test.test_ntpath.TestNtpath.test_nt_helpers
gives the following error:
======================================================================
FAIL: test_nt_helpers (test.test_ntpath.TestNtpath)
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\work-in-progress\python\cpython\lib\test\test_ntpath.py", line 432, in test_nt_helpers
self.assertEqual(drive, nt._getvolumepathname(sys.executable))
AssertionError: 'c:\\' != 'C:\\'
- c:\
? ^
+ C:\
? ^
Ad hoc, it appears that:
`sys.executable` gives a lower-case path while `nt._getvolumepathname` gives an upper-case drive letter.
While the test could be trivially fixed, it seems worth investigating a little further to see what's happening inside `nt._getvolumepathname` |
|
Date |
User |
Action |
Args |
2018-07-23 07:41:36 | tim.golden | set | recipients:
+ tim.golden, paul.moore, zach.ware, steve.dower |
2018-07-23 07:41:35 | tim.golden | set | messageid: <1532331695.99.0.56676864532.issue34195@psf.upfronthosting.co.za> |
2018-07-23 07:41:35 | tim.golden | link | issue34195 messages |
2018-07-23 07:41:35 | tim.golden | create | |
|