Skip to content

Commit ac36d7d

Browse files
committed
Skip remote PDB integration test on WASI
1 parent 662c7eb commit ac36d7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_remote_pdb.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import unittest.mock
1212
from contextlib import contextmanager
1313
from pathlib import Path
14-
from test.support import os_helper
14+
from test.support import is_wasi, os_helper
1515
from test.support.os_helper import temp_dir, TESTFN, unlink
1616
from typing import Dict, List, Optional, Tuple, Union, Any
1717

@@ -240,6 +240,7 @@ def side_effect(line):
240240
self.assertEqual(len(prompts), 2) # Should have sent 2 prompts
241241

242242

243+
@unittest.skipIf(is_wasi, "WASI does not support TCP sockets")
243244
class PdbConnectTestCase(unittest.TestCase):
244245
"""Tests for the _connect mechanism using direct socket communication."""
245246

0 commit comments

Comments
 (0)