Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestResponseParser.test_parser_response_leninent_headers_1 test failure #119

Open
Apteryks opened this issue Dec 5, 2024 · 0 comments
Open

Comments

@Apteryks
Copy link

Apteryks commented Dec 5, 2024

Hello,

Builing httptools 0.6.4, I see:

=================================== FAILURES ===================================
__________ TestResponseParser.test_parser_response_leninent_headers_1 __________
Traceback (most recent call last):
  File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/unittest/case.py", line 591, in run
    self._callTestMethod(testMethod)
  File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
    method()
  File "/tmp/guix-build-python-httptools-0.6.4.drv-0/source/tests/test_parser.py", line 132, in test_parser_response_leninent_headers_1
    with self.assertRaisesRegex(
  File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/unittest/case.py", line 226, in __exit__
    self._raiseFailure("{} not raised".format(exc_name))
  File "/gnu/store/jjcka1g6sk2cvwx8nm4fdwpdq3vll0v0-python-3.10.7/lib/python3.10/unittest/case.py", line 163, in _raiseFailure
    raise self.test_case.failureException(msg)
AssertionError: HttpParserError not raised
=========================== short test summary info ============================
FAILED tests/test_parser.py::TestResponseParser::test_parser_response_leninent_headers_1 - AssertionError: HttpParserError not raised
========================= 1 failed, 39 passed in 0.08s =========================

This happens using the systemt-provided llhttp and http-parser libraries. Python is at 3.10.7, while the direct inputs are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant