(self)
| 5723 | |
| 5724 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 5725 | def test_neg_timeout(self): |
| 5726 | from multiprocessing.connection import wait |
| 5727 | a, b = multiprocessing.Pipe() |
| 5728 | t = time.monotonic() |
| 5729 | res = wait([a], timeout=-1) |
| 5730 | t = time.monotonic() - t |
| 5731 | self.assertEqual(res, []) |
| 5732 | self.assertLess(t, 1) |
| 5733 | a.close() |
| 5734 | b.close() |
| 5735 | |
| 5736 | # |
| 5737 | # Issue 14151: Test invalid family on invalid environment |
nothing calls this directly
no test coverage detected