mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[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:
https://github.com/emscripten-core/emscripten/pull/24593
(cherry picked from commit 2a49c54ab2
)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
This commit is contained in:
parent
77e2ac14c6
commit
bf189d7ab5
1 changed files with 1 additions and 0 deletions
|
@ -1569,6 +1569,7 @@ class Pathname_Tests(unittest.TestCase):
|
|||
urllib.request.url2pathname,
|
||||
url, require_scheme=True)
|
||||
|
||||
@unittest.skipIf(support.is_emscripten, "Fixed by https://github.com/emscripten-core/emscripten/pull/24593")
|
||||
def test_url2pathname_resolve_host(self):
|
||||
fn = urllib.request.url2pathname
|
||||
sep = os.path.sep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue