aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-04 14:50:19 +0100
committerGitHub <noreply@github.com>2020-03-04 14:50:19 +0100
commit1ec63b62035e73111e204a0e03b83503e1c58f2e (patch)
tree1f21da1148b4b09981c49f900adf9194930e62e4 /Lib/distutils/tests
parentdffe4c07095e0c693e094d3c140e85a68bd8128e (diff)
downloadcpython-1ec63b62035e73111e204a0e03b83503e1c58f2e.tar.gz
cpython-1ec63b62035e73111e204a0e03b83503e1c58f2e.zip
bpo-39763: distutils.spawn now uses subprocess (GH-18743)
Reimplement distutils.spawn.spawn() function with the subprocess module. setup.py now uses a basic implementation of the subprocess module if the subprocess module is not available: before required C extension modules are built.
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_spawn.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/distutils/tests/test_spawn.py b/Lib/distutils/tests/test_spawn.py
index f9ae69ef86b..73b0f5cb732 100644
--- a/Lib/distutils/tests/test_spawn.py
+++ b/Lib/distutils/tests/test_spawn.py
@@ -8,7 +8,6 @@ from test.support import run_unittest, unix_shell
from test import support as test_support
from distutils.spawn import find_executable
-from distutils.spawn import _nt_quote_args
from distutils.spawn import spawn
from distutils.errors import DistutilsExecError
from distutils.tests import support
@@ -17,16 +16,6 @@ class SpawnTestCase(support.TempdirManager,
support.LoggingSilencer,
unittest.TestCase):
- def test_nt_quote_args(self):
-
- for (args, wanted) in ((['with space', 'nospace'],
- ['"with space"', 'nospace']),
- (['nochange', 'nospace'],
- ['nochange', 'nospace'])):
- res = _nt_quote_args(args)
- self.assertEqual(res, wanted)
-
-
@unittest.skipUnless(os.name in ('nt', 'posix'),
'Runs only under posix or nt')
def test_spawn(self):