mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
This commit is contained in:
parent
78d915aa3e
commit
9499413508
3 changed files with 5 additions and 5 deletions
|
@ -2170,7 +2170,7 @@ class TestSendfile(unittest.TestCase):
|
|||
**{'in': self.fileno})
|
||||
if self.SUPPORT_HEADERS_TRAILERS:
|
||||
os.sendfile(self.sockno, self.fileno, offset=0, count=4096,
|
||||
headers=None, trailers=None, flags=0)
|
||||
headers=(), trailers=(), flags=0)
|
||||
|
||||
# --- headers / trailers tests
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue