(self)
| 197 | |
| 198 | @cpython_only |
| 199 | def test_flock_overflow(self): |
| 200 | _testcapi = import_module("_testcapi") |
| 201 | self.assertRaises(OverflowError, fcntl.flock, _testcapi.INT_MAX+1, |
| 202 | fcntl.LOCK_SH) |
| 203 | |
| 204 | @unittest.skipIf(sys.platform != 'darwin', "F_GETPATH is only available on macos") |
| 205 | def test_fcntl_f_getpath(self): |
nothing calls this directly
no test coverage detected