(self)
| 3945 | self.assertEqual(cm.exception.errno, errno.EINVAL) |
| 3946 | |
| 3947 | async def test_keywords(self): |
| 3948 | # Keyword arguments should be supported |
| 3949 | await self.async_sendfile(out_fd=self.sockno, in_fd=self.fileno, |
| 3950 | offset=0, count=4096) |
| 3951 | if self.SUPPORT_HEADERS_TRAILERS: |
| 3952 | await self.async_sendfile(out_fd=self.sockno, in_fd=self.fileno, |
| 3953 | offset=0, count=4096, |
| 3954 | headers=(), trailers=(), flags=0) |
| 3955 | |
| 3956 | # --- headers / trailers tests |
| 3957 |
nothing calls this directly
no test coverage detected