Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c7f44aa9
Commit
c7f44aa9
authored
Apr 24, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23277: Remove more unused sys and os imports.
parent
18a8affc
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
0 additions
and
15 deletions
+0
-15
Lib/distutils/tests/test_clean.py
Lib/distutils/tests/test_clean.py
+0
-1
Lib/distutils/tests/test_config.py
Lib/distutils/tests/test_config.py
+0
-1
Lib/distutils/tests/test_install_data.py
Lib/distutils/tests/test_install_data.py
+0
-1
Lib/distutils/tests/test_install_headers.py
Lib/distutils/tests/test_install_headers.py
+0
-1
Lib/distutils/tests/test_unixccompiler.py
Lib/distutils/tests/test_unixccompiler.py
+0
-1
Lib/lib2to3/tests/test_parser.py
Lib/lib2to3/tests/test_parser.py
+0
-1
Lib/lib2to3/tests/test_pytree.py
Lib/lib2to3/tests/test_pytree.py
+0
-1
Lib/lib2to3/tests/test_util.py
Lib/lib2to3/tests/test_util.py
+0
-3
Lib/test/seq_tests.py
Lib/test/seq_tests.py
+0
-1
Lib/test/test_importlib/source/test_source_encoding.py
Lib/test/test_importlib/source/test_source_encoding.py
+0
-1
Lib/test/test_itertools.py
Lib/test/test_itertools.py
+0
-1
Lib/test/test_set.py
Lib/test/test_set.py
+0
-1
Lib/test/test_xmlrpc.py
Lib/test/test_xmlrpc.py
+0
-1
No files found.
Lib/distutils/tests/test_clean.py
View file @
c7f44aa9
"""Tests for distutils.command.clean."""
import
sys
import
os
import
unittest
import
getpass
...
...
Lib/distutils/tests/test_config.py
View file @
c7f44aa9
"""Tests for distutils.pypirc.pypirc."""
import
sys
import
os
import
unittest
import
tempfile
...
...
Lib/distutils/tests/test_install_data.py
View file @
c7f44aa9
"""Tests for distutils.command.install_data."""
import
sys
import
os
import
unittest
import
getpass
...
...
Lib/distutils/tests/test_install_headers.py
View file @
c7f44aa9
"""Tests for distutils.command.install_headers."""
import
sys
import
os
import
unittest
import
getpass
...
...
Lib/distutils/tests/test_unixccompiler.py
View file @
c7f44aa9
"""Tests for distutils.unixccompiler."""
import
os
import
sys
import
unittest
from
test.support
import
EnvironmentVarGuard
,
run_unittest
...
...
Lib/lib2to3/tests/test_parser.py
View file @
c7f44aa9
...
...
@@ -15,7 +15,6 @@ from test.support import verbose
# Python imports
import
os
import
sys
import
unittest
import
warnings
import
subprocess
...
...
Lib/lib2to3/tests/test_pytree.py
View file @
c7f44aa9
...
...
@@ -11,7 +11,6 @@ especially when debugging a test.
from
__future__
import
with_statement
import
sys
import
warnings
# Testing imports
...
...
Lib/lib2to3/tests/test_util.py
View file @
c7f44aa9
...
...
@@ -3,9 +3,6 @@
# Testing imports
from
.
import
support
# Python imports
import
os.path
# Local imports
from
lib2to3.pytree
import
Node
,
Leaf
from
lib2to3
import
fixer_util
...
...
Lib/test/seq_tests.py
View file @
c7f44aa9
...
...
@@ -318,7 +318,6 @@ class CommonTest(unittest.TestCase):
self
.
assertEqual
(
id
(
s
),
id
(
s
*
1
))
def
test_bigrepeat
(
self
):
import
sys
if
sys
.
maxsize
<=
2147483647
:
x
=
self
.
type2test
([
0
])
x
*=
2
**
16
...
...
Lib/test/test_importlib/source/test_source_encoding.py
View file @
c7f44aa9
...
...
@@ -5,7 +5,6 @@ machinery = util.import_importlib('importlib.machinery')
import
codecs
import
importlib.util
import
re
import
sys
import
types
# Because sys.path gets essentially blanked, need to have unicodedata already
# imported for the parser to use.
...
...
Lib/test/test_itertools.py
View file @
c7f44aa9
...
...
@@ -4,7 +4,6 @@ from itertools import *
import
weakref
from
decimal
import
Decimal
from
fractions
import
Fraction
import
sys
import
operator
import
random
import
copy
...
...
Lib/test/test_set.py
View file @
c7f44aa9
...
...
@@ -6,7 +6,6 @@ import operator
import
copy
import
pickle
from
random
import
randrange
,
shuffle
import
sys
import
warnings
import
collections
import
collections.abc
...
...
Lib/test/test_xmlrpc.py
View file @
c7f44aa9
...
...
@@ -9,7 +9,6 @@ import xmlrpc.server
import
http.client
import
http
,
http
.
server
import
socket
import
os
import
re
import
io
import
contextlib
...
...
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