Message400618
test_sys:
def test_executable(self):
# sys.executable should be absolute
self.assertEqual(os.path.abspath(sys.executable), sys.executable)
IMO the test is wrong. It must test: test.assertTrue(os.path.isabs(sys.executable)).
The path is not required to be normalized. |
|
Date |
User |
Action |
Args |
2021-08-30 15:16:42 | vstinner | set | recipients:
+ vstinner, pitrou, eric.araujo, petri.lehtinen, alvesjnr, iritkatriel |
2021-08-30 15:16:42 | vstinner | set | messageid: <1630336602.62.0.512548955586.issue14088@roundup.psfhosted.org> |
2021-08-30 15:16:42 | vstinner | link | issue14088 messages |
2021-08-30 15:16:42 | vstinner | create | |
|