def test_number_of_jobs_hyperthread_3(self, stdout_mock):
     self.assertEqual(
         parallel_lib.get_number_of_jobs(njobs=None,
                                         assume_hyperthread=True), 3)
Ejemplo n.º 2
0
 def test_number_of_jobs_hyperthread_3(self, stdout_mock):
     self.assertEqual(parallel_lib.get_number_of_jobs(
         njobs=None, assume_hyperthread=True), 3)
 def test_number_of_jobs_explicit(self, stdout_mock):
     self.assertEqual(
         parallel_lib.get_number_of_jobs(njobs=6, assume_hyperthread=True),
         6)
Ejemplo n.º 4
0
 def test_number_of_jobs_explicit(self, stdout_mock):
     self.assertEqual(parallel_lib.get_number_of_jobs(
         njobs=6, assume_hyperthread=True), 6)