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
905adfca
Commit
905adfca
authored
Apr 24, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23277: Remove unused imports in tests.
parent
95f6afb7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3 additions
and
16 deletions
+3
-16
tests/test_bdist_rpm.py
tests/test_bdist_rpm.py
+0
-4
tests/test_build_ext.py
tests/test_build_ext.py
+0
-1
tests/test_clean.py
tests/test_clean.py
+0
-1
tests/test_config.py
tests/test_config.py
+0
-1
tests/test_cygwinccompiler.py
tests/test_cygwinccompiler.py
+1
-2
tests/test_dep_util.py
tests/test_dep_util.py
+0
-1
tests/test_file_util.py
tests/test_file_util.py
+0
-1
tests/test_install_data.py
tests/test_install_data.py
+0
-1
tests/test_install_headers.py
tests/test_install_headers.py
+0
-1
tests/test_spawn.py
tests/test_spawn.py
+2
-3
No files found.
tests/test_bdist_rpm.py
View file @
905adfca
...
...
@@ -3,16 +3,12 @@
import
unittest
import
sys
import
os
import
tempfile
import
shutil
from
test.support
import
run_unittest
from
distutils.core
import
Distribution
from
distutils.command.bdist_rpm
import
bdist_rpm
from
distutils.tests
import
support
from
distutils.spawn
import
find_executable
from
distutils
import
spawn
from
distutils.errors
import
DistutilsExecError
SETUP_PY
=
"""
\
from distutils.core import setup
...
...
tests/test_build_ext.py
View file @
905adfca
...
...
@@ -166,7 +166,6 @@ class BuildExtTestCase(TempdirManager,
cmd
=
self
.
build_ext
(
dist
)
cmd
.
finalize_options
()
from
distutils
import
sysconfig
py_include
=
sysconfig
.
get_python_inc
()
self
.
assertIn
(
py_include
,
cmd
.
include_dirs
)
...
...
tests/test_clean.py
View file @
905adfca
"""Tests for distutils.command.clean."""
import
os
import
unittest
import
getpass
from
distutils.command.clean
import
clean
from
distutils.tests
import
support
...
...
tests/test_config.py
View file @
905adfca
"""Tests for distutils.pypirc.pypirc."""
import
os
import
unittest
import
tempfile
from
distutils.core
import
PyPIRCCommand
from
distutils.core
import
Distribution
...
...
tests/test_cygwinccompiler.py
View file @
905adfca
...
...
@@ -3,11 +3,10 @@ import unittest
import
sys
import
os
from
io
import
BytesIO
import
subprocess
from
test.support
import
run_unittest
from
distutils
import
cygwinccompiler
from
distutils.cygwinccompiler
import
(
CygwinCCompiler
,
check_config_h
,
from
distutils.cygwinccompiler
import
(
check_config_h
,
CONFIG_H_OK
,
CONFIG_H_NOTOK
,
CONFIG_H_UNCERTAIN
,
get_versions
,
get_msvcr
)
...
...
tests/test_dep_util.py
View file @
905adfca
"""Tests for distutils.dep_util."""
import
unittest
import
os
import
time
from
distutils.dep_util
import
newer
,
newer_pairwise
,
newer_group
from
distutils.errors
import
DistutilsFileError
...
...
tests/test_file_util.py
View file @
905adfca
"""Tests for distutils.file_util."""
import
unittest
import
os
import
shutil
import
errno
from
unittest.mock
import
patch
...
...
tests/test_install_data.py
View file @
905adfca
"""Tests for distutils.command.install_data."""
import
os
import
unittest
import
getpass
from
distutils.command.install_data
import
install_data
from
distutils.tests
import
support
...
...
tests/test_install_headers.py
View file @
905adfca
"""Tests for distutils.command.install_headers."""
import
os
import
unittest
import
getpass
from
distutils.command.install_headers
import
install_headers
from
distutils.tests
import
support
...
...
tests/test_spawn.py
View file @
905adfca
"""Tests for distutils.spawn."""
import
unittest
import
os
import
time
from
test.support
import
captured_stdout
,
run_unittest
from
test.support
import
run_unittest
from
distutils.spawn
import
_nt_quote_args
from
distutils.spawn
import
spawn
,
find_executable
from
distutils.spawn
import
spawn
from
distutils.errors
import
DistutilsExecError
from
distutils.tests
import
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