diff options
author | Martin Panter <vadmium> | 2015-09-09 05:29:24 (GMT) |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-09 05:29:24 (GMT) |
commit | 9499413508b7ff4e7806f8f8e59ba9176d98b39c (patch) | |
tree | 4cfae3712f336855be7dee238b0a0ee8c95a9810 /Lib | |
parent | 78d915aa3e12300118f0f274ead583713197ead7 (diff) | |
download | cpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.zip cpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.tar.gz cpython-9499413508b7ff4e7806f8f8e59ba9176d98b39c.tar.bz2 |
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_os.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 1a38dbe..0bbf73d 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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 |