bpo-36786: Run compileall in parallel during "make install" (GH-13078)

This commit is contained in:
Antoine Pitrou 2019-05-15 23:45:18 +02:00 committed by GitHub
parent c981ad16b0
commit 1a2dd82f56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 22 deletions

View file

@ -575,7 +575,7 @@ class CommandLineTestsBase:
new=[sys.executable, self.directory, "-j0"]):
compileall.main()
self.assertTrue(compile_dir.called)
self.assertEqual(compile_dir.call_args[-1]['workers'], None)
self.assertEqual(compile_dir.call_args[-1]['workers'], 0)
class CommmandLineTestsWithSourceEpoch(CommandLineTestsBase,