diff options
author | Tian Gao <gaogaotiantian@hotmail.com> | 2025-04-26 11:09:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-26 19:09:09 +0100 |
commit | 0eb0e70ca073cc3eb26611963301ca8258217505 (patch) | |
tree | 38f188f6e9121235c8bc3ea542ac73f83e1bdf01 /Lib | |
parent | 314f4b9716c2a3f49f7834d1e12bb2ee6c24a588 (diff) | |
download | cpython-0eb0e70ca073cc3eb26611963301ca8258217505.tar.gz cpython-0eb0e70ca073cc3eb26611963301ca8258217505.zip |
gh-133006: Add subprocess check for remote pdb test (#133014)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_remote_pdb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_remote_pdb.py b/Lib/test/test_remote_pdb.py index b7c4a8b1444..2c4a17abd82 100644 --- a/Lib/test/test_remote_pdb.py +++ b/Lib/test/test_remote_pdb.py @@ -13,7 +13,7 @@ import unittest import unittest.mock from contextlib import contextmanager from pathlib import Path -from test.support import is_wasi, os_helper, SHORT_TIMEOUT +from test.support import is_wasi, os_helper, requires_subprocess, SHORT_TIMEOUT from test.support.os_helper import temp_dir, TESTFN, unlink from typing import Dict, List, Optional, Tuple, Union, Any @@ -257,6 +257,7 @@ class RemotePdbTestCase(unittest.TestCase): self.assertEqual(len(prompts), 2) # Should have sent 2 prompts +@requires_subprocess() @unittest.skipIf(is_wasi, "WASI does not support TCP sockets") class PdbConnectTestCase(unittest.TestCase): """Tests for the _connect mechanism using direct socket communication.""" |