def test_compile_workers_non_positive(self):
    with self.assertRaisesRegex(ValueError, 'workers must be greater or equal to 0'):
        compileall.compile_dir(self.directory, workers=(- 1))
def test_compile_workers_non_positive(self):
    with self.assertRaisesRegex(ValueError, 'workers must be greater or equal to 0'):
        compileall.compile_dir(self.directory, workers=(- 1))