This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
History
Date User Action Args
2021-08-30 15:16:42vstinnersetrecipients: + vstinner, pitrou, eric.araujo, petri.lehtinen, alvesjnr, iritkatriel
2021-08-30 15:16:42vstinnersetmessageid: <1630336602.62.0.512548955586.issue14088@roundup.psfhosted.org>
2021-08-30 15:16:42vstinnerlinkissue14088 messages
2021-08-30 15:16:42vstinnercreate