(self)
| 3259 | self.zerocopy_fun(src, dst) |
| 3260 | |
| 3261 | def test_filesystem_full(self): |
| 3262 | # Emulate a case where filesystem is full and sendfile() fails |
| 3263 | # on first call. |
| 3264 | with unittest.mock.patch(self.PATCHPOINT, |
| 3265 | side_effect=OSError(errno.ENOSPC, "yo")): |
| 3266 | with self.get_files() as (src, dst): |
| 3267 | self.assertRaises(OSError, self.zerocopy_fun, src, dst) |
| 3268 | |
| 3269 | |
| 3270 | class _ZeroCopyFileLinuxTest(_ZeroCopyFileTest): |
nothing calls this directly
no test coverage detected