Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
ea19518a
Commit
ea19518a
authored
Apr 30, 2020
by
Victor Stinner
Committed by
GitHub
Apr 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-40443: Remove unused imports in tests (GH-19804)
parent
74e9f56d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
tests/test_build_clib.py
tests/test_build_clib.py
+0
-1
tests/test_config_cmd.py
tests/test_config_cmd.py
+0
-1
tests/test_dist.py
tests/test_dist.py
+1
-1
tests/test_spawn.py
tests/test_spawn.py
+1
-2
No files found.
tests/test_build_clib.py
View file @
ea19518a
...
...
@@ -8,7 +8,6 @@ from test.support import run_unittest, missing_compiler_executable
from
distutils.command.build_clib
import
build_clib
from
distutils.errors
import
DistutilsSetupError
from
distutils.tests
import
support
from
distutils.spawn
import
find_executable
class
BuildCLibTestCase
(
support
.
TempdirManager
,
support
.
LoggingSilencer
,
...
...
tests/test_config_cmd.py
View file @
ea19518a
...
...
@@ -39,7 +39,6 @@ class ConfigTestCase(support.LoggingSilencer,
@
unittest
.
skipIf
(
sys
.
platform
==
'win32'
,
"can't test on Windows"
)
def
test_search_cpp
(
self
):
import
shutil
cmd
=
missing_compiler_executable
([
'preprocessor'
])
if
cmd
is
not
None
:
self
.
skipTest
(
'The %r command is not found'
%
cmd
)
...
...
tests/test_dist.py
View file @
ea19518a
...
...
@@ -8,7 +8,7 @@ import textwrap
from
unittest
import
mock
from
distutils.dist
import
Distribution
,
fix_help_options
,
DistributionMetadata
from
distutils.dist
import
Distribution
,
fix_help_options
from
distutils.cmd
import
Command
from
test.support
import
(
...
...
tests/test_spawn.py
View file @
ea19518a
...
...
@@ -2,8 +2,7 @@
import
os
import
stat
import
sys
import
unittest
from
unittest
import
mock
import
unittest.mock
from
test.support
import
run_unittest
,
unix_shell
from
test
import
support
as
test_support
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment