diff options
author | Martin Panter <vadmium> | 2015-09-09 05:29:24 +0000 |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-09 05:29:24 +0000 |
commit | 9499413508b7ff4e7806f8f8e59ba9176d98b39c (patch) | |
tree | 4cfae3712f336855be7dee238b0a0ee8c95a9810 /Lib/test | |
parent | 78d915aa3e12300118f0f274ead583713197ead7 (diff) | |
download | cpython-git-9499413508b7ff4e7806f8f8e59ba9176d98b39c.tar.gz |
os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
Diffstat (limited to 'Lib/test')
-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 1a38dbe989..0bbf73dca4 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 |