twisted / nevow

Web Application Construction Kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nevow.test.test_compression.RequestWrapperTests.test_contentLength fails against Twisted trunk@HEAD

exarkun opened this issue · comments

This test calls setHeader with an int value. This was supported but deprecated for a long time. Support was removed in https://twistedmatrix.com/trac/ticket/9420 / twisted/twisted@63a707e and this now raises a random exception from the implementation due to the misuse of the API.

The test just needs to pass a string representation (bytes) of the value.