Skip to content

gh-131178: remove runtime tests for http.server CLI #134287

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

Merged

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented May 19, 2025

Since the runtime tests for the http.server CLI are failing for some buildbots, I will remove them until they are fixed. The mocked tests can remain as they pass on every platform. Note that the runtime tests would anyway work on Linux but somehow fail on macOS and Windows depending on the bind address.

@bedevere-app bedevere-app bot added tests Tests in the Lib/test dir awaiting core review labels May 19, 2025
@picnixz picnixz enabled auto-merge (squash) May 19, 2025 21:35
@picnixz picnixz merged commit 1fbb060 into python:main May 19, 2025
44 checks passed
@picnixz picnixz deleted the patch/revert-test-servers-runtime-131178 branch May 19, 2025 21:59
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…34287)

The runtime behavior of `http.server` CLI is hard to test on an arbitrary platform.
As such, tests asserting the correctness of `python -m http.server` are temporarily
removed and will be rewritten later once a universal solution has been found.
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…34287)

The runtime behavior of `http.server` CLI is hard to test on an arbitrary platform.
As such, tests asserting the correctness of `python -m http.server` are temporarily
removed and will be rewritten later once a universal solution has been found.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy