Author brett.cannon
Recipients LorenzMende, barry, brett.cannon, ncoghlan, v2m, vstinner
Date 2018-09-01.17:42:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Maybe I'm missing something, but who is racing whom in this case? All the examples people have shared are simply running the test module directly which means there's no parallelism in the execution of the test runner with other tests. Does unittest.main() randomize the order and it's a sequence issue more than a concurrency issue?

For instance, Lorenz may have tracked this issue down to cleanup, but each of those test methods should have been run sequentially, meaning that the tearDown() method would have been called after every execution of a test with no concurrency going on.

And the temp modules for the tests are put in a directory created using tempfile.mkdtemp() so that should prevent test methods stomping on each other.

Perhaps we need to improve the failure messages at this point in the tests to get more clues as to the state of things when the failures occur?
Date User Action Args
2018-09-01 17:42:03brett.cannonsetrecipients: + brett.cannon, barry, ncoghlan, vstinner, LorenzMende, v2m
2018-09-01 17:42:03brett.cannonsetmessageid: <>
2018-09-01 17:42:03brett.cannonlinkissue34200 messages
2018-09-01 17:42:03brett.cannoncreate