Message400618
| Author |
vstinner |
| Recipients |
alvesjnr, eric.araujo, iritkatriel, petri.lehtinen, pitrou, vstinner |
| Date |
2021年08月30日.15:16:42 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1630336602.62.0.512548955586.issue14088@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|