(self)
| 325 | self.assertEqual(current.exitcode, None) |
| 326 | |
| 327 | def test_set_executable(self): |
| 328 | if self.TYPE == 'threads': |
| 329 | self.skipTest(f'test not appropriate for {self.TYPE}') |
| 330 | paths = [ |
| 331 | sys.executable, # str |
| 332 | os.fsencode(sys.executable), # bytes |
| 333 | os_helper.FakePath(sys.executable), # os.PathLike |
| 334 | os_helper.FakePath(os.fsencode(sys.executable)), # os.PathLike bytes |
| 335 | ] |
| 336 | for path in paths: |
| 337 | self.set_executable(path) |
| 338 | p = self.Process() |
| 339 | p.start() |
| 340 | p.join() |
| 341 | self.assertEqual(p.exitcode, 0) |
| 342 | |
| 343 | @support.requires_resource('cpu') |
| 344 | def test_args_argument(self): |
nothing calls this directly
no test coverage detected