diff options
| author | Victor Stinner <vstinner@python.org> | 2020-03-04 14:50:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-04 14:50:19 +0100 |
| commit | c6f749b2b761da2b88cac62d8c6aa29f7276e3a7 (patch) | |
| tree | fbea0daed0ac5c65df5770c39a447cd8e9ea713c /tests/test_spawn.py | |
| parent | d8d513d728552adee0677d5814eecc06d7775749 (diff) | |
| download | python-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.py | 11 |
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): |
