Skip to content

Commit bf189d7

Browse files
[3.14] gh-127146: Emscripten: Skip test_url2pathname_resolve_host (GH-135634) (#135651)
Emscripten currently `gethostbyname_r()` returns an incorrect IP address for `localhost`. Will be resolved by upstream PR: emscripten-core/emscripten#24593 (cherry picked from commit 2a49c54) Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
1 parent 77e2ac1 commit bf189d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_urllib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,7 @@ def test_url2pathname_require_scheme_errors(self):
15691569
urllib.request.url2pathname,
15701570
url, require_scheme=True)
15711571

1572+
@unittest.skipIf(support.is_emscripten, "Fixed by https://github.com/emscripten-core/emscripten/pull/24593")
15721573
def test_url2pathname_resolve_host(self):
15731574
fn = urllib.request.url2pathname
15741575
sep = os.path.sep

0 commit comments

Comments
 (0)