Skip to content

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
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.

@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
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
5 participants