Message 324464 - Python tracker
I was able to reproduce the issue with Win 10, current cpython @master. All sequential test runs are good. With parallel execution a race condition comes up, as Victor already mentioned. I was able to track the issue to the teardown function of the TestCase In parallel the cleanup of the modules crashed the other tests. line 57: support.modules_cleanup(*self.modules_before) Is it possible to manage the cleanup differently?