summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-09 05:29:24 (GMT)
committerMartin Panter <vadmium>2015-09-09 05:29:24 (GMT)
commit9499413508b7ff4e7806f8f8e59ba9176d98b39c (patch)
tree4cfae3712f336855be7dee238b0a0ee8c95a9810 /Lib
parent78d915aa3e12300118f0f274ead583713197ead7 (diff)
downloadcpython-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.py2
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