(self, cpus)
| 4694 | |
| 4695 | class CPUCountTests(unittest.TestCase): |
| 4696 | def check_cpu_count(self, cpus): |
| 4697 | if cpus is None: |
| 4698 | self.skipTest("Could not determine the number of CPUs") |
| 4699 | |
| 4700 | self.assertIsInstance(cpus, int) |
| 4701 | self.assertGreater(cpus, 0) |
| 4702 | |
| 4703 | def test_cpu_count(self): |
| 4704 | cpus = os.cpu_count() |
no test coverage detected