Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-133677: Skip test in test_httpservers if not utf-8 #133706

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

Closed
wants to merge 5 commits into from

Conversation

StanFromIreland
Copy link
Contributor

@StanFromIreland StanFromIreland commented May 8, 2025

@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label May 8, 2025
@StanFromIreland
Copy link
Contributor Author

Calling the raspbian buildbots would verify this is solved.

@sharktide
Copy link
Contributor

sharktide commented May 8, 2025

@StanFromIreland Is it okay if I handle the zipfile test fail? I worked alot with the zipfile lib

@ZeroIntensity
Copy link
Member

!buildbot raspbian

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @ZeroIntensity for commit e45a58d 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F133706%2Fmerge

The command will test the builders whose names match following regular expression: raspbian

The builders matched are:

  • ARM64 Raspbian PR
  • ARM Raspbian PR

@StanFromIreland
Copy link
Contributor Author

Test passes on buildbot.

Lib/test/test_httpservers.py Outdated Show resolved Hide resolved
@StanFromIreland StanFromIreland requested a review from zware May 9, 2025 15:19
def test_undecodable_parameter(self):
# sanity check using a valid parameter
response = self.request(self.base_url + '/?x=123').read()
self.assertRegex(response, rf'listing for {self.base_url}/\?x=123'.encode('latin1'))
# now the bogus encoding
# now the bogus (utf-8) encoding
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should be reverted as well.

@sharktide
Copy link
Contributor

@zware please review #133715 since it directly correlates to this PR

@StanFromIreland StanFromIreland requested a review from zware May 9, 2025 19:43
@serhiy-storchaka
Copy link
Member

Sorry, but skipping the test is not a proper fix of this issue. Test failure exposes a bug in http.server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.