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 pablogsal, steve.dower, vstinner, xtreak
Date 2019-02-12.20:02:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550001735.32.0.793934521433.issue35978@roundup.psfhosted.org>
In-reply-to
Content
Hum, test_executable() of test_venv is skipped if run in a venv, but not test_multiprocessing():

    # If a venv is created from a source build and that venv is used to
    # run the test, the pyvenv.cfg in the venv created in the test will
    # point to the venv being used to run the test, and we lose the link
    # to the source build - so Python can't initialise properly.
    @skipInVenv
        ...
        self.run_with_capture(venv.create, self.env_dir)
        envpy = os.path.join(os.path.realpath(self.env_dir),
                             self.bindir, self.exe)
        ...

    def test_multiprocessing(self):
        ...
        self.run_with_capture(venv.create, self.env_dir)
        envpy = os.path.join(os.path.realpath(self.env_dir),
                             self.bindir, self.exe)
        ...

The test has been added by:

commit 4e02f8f8b4baab63f927cfd87b401200ba2969e9
Author: Steve Dower <steve.dower@microsoft.com>
Date:   Fri Jan 25 14:59:12 2019 -0800
History
Date User Action Args
2019-02-12 20:02:15vstinnersetrecipients: + vstinner, steve.dower, pablogsal, xtreak
2019-02-12 20:02:15vstinnersetmessageid: <1550001735.32.0.793934521433.issue35978@roundup.psfhosted.org>
2019-02-12 20:02:15vstinnerlinkissue35978 messages
2019-02-12 20:02:15vstinnercreate