Skip to content

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