[New-bugs-announce] [issue25038] test_os.TestSendfile.test_keywords() introduced a regression
STINNER Victor
report at bugs.python.org
Wed Sep 9 08:56:50 CEST 2015
New submission from STINNER Victor:
The change e42e2bd47168 introduced a regression, test_os started to fail on FreeBSD. What is the rationale of the change? For example, test_os pass in the previous build on the same buildbot.
I don't know if it makes sense to pass None to headers and/or trailers.
Please revert the change or fix the test. ((But we must continue to test headers=None and trailers=None, even if these parameters now raise a TypeError).
======================================================================
ERROR: test_keywords (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_os.py", line 2334, in test_keywords
headers=None, trailers=None, flags=0)
TypeError: sendfile() headers must be a sequence or None
----------
messages: 250292
nosy: haypo, martin.panter
priority: normal
severity: normal
status: open
title: test_os.TestSendfile.test_keywords() introduced a regression
versions: Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25038>
_______________________________________
More information about the New-bugs-announce
mailing list