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 loganasherjones
Recipients chris.jerdonek, gmwils, loganasherjones, petri.lehtinen
Date 2019-05-06.17:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557164919.23.0.480931095734.issue15305@roundup.psfhosted.org>
In-reply-to
Content
I'm working on this in the PyCon 2019 sprints.

Near as I can tell, while this issue still seems relevant, I think it might actually be for the best that this multiple disambiguation is left in the test suite. 

I removed the pid reference in the TESTFN and the tests passed in both the parallel and sequential cases. However, removing the pid results in multiprocessing tests having to be written more carefully if they choose to use the TESTFN.

Here is an explanation for why you would leave this code in. When running the tests in sequential mode, the tests will run in a CWD that includes the pid. When writing a multi-processing test using the TESTFN you would have to remember to add the os.getpid call to the actual TESTFN instead of it just being included by default.

Ultimately, this is really just extra information that is included in the temporary filenames. It might be worth just closing this issue.
History
Date User Action Args
2019-05-06 17:48:39loganasherjonessetrecipients: + loganasherjones, chris.jerdonek, petri.lehtinen, gmwils
2019-05-06 17:48:39loganasherjonessetmessageid: <1557164919.23.0.480931095734.issue15305@roundup.psfhosted.org>
2019-05-06 17:48:39loganasherjoneslinkissue15305 messages
2019-05-06 17:48:39loganasherjonescreate