(self, cpus)
| 4418 | |
| 4419 | class CPUCountTests(unittest.TestCase): |
| 4420 | def check_cpu_count(self, cpus): |
| 4421 | if cpus is None: |
| 4422 | self.skipTest("Could not determine the number of CPUs") |
| 4423 | |
| 4424 | self.assertIsInstance(cpus, int) |
| 4425 | self.assertGreater(cpus, 0) |
| 4426 | |
| 4427 | def test_cpu_count(self): |
| 4428 | cpus = os.cpu_count() |
no test coverage detected