summaryrefslogtreecommitdiff
path: root/tests/test_spawn.py
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
commitc6f749b2b761da2b88cac62d8c6aa29f7276e3a7 (patch)
treefbea0daed0ac5c65df5770c39a447cd8e9ea713c /tests/test_spawn.py
parentd8d513d728552adee0677d5814eecc06d7775749 (diff)
downloadpython-setuptools-git-c6f749b2b761da2b88cac62d8c6aa29f7276e3a7.tar.gz
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 'tests/test_spawn.py')
-rw-r--r--tests/test_spawn.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_spawn.py b/tests/test_spawn.py
index f9ae69ef..73b0f5cb 100644
--- a/tests/test_spawn.py
+++ b/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):