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
a6f26c1d
Commit
a6f26c1d
authored
Apr 25, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more unused imports in tests.
parent
fd2839e1
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
1 addition
and
12 deletions
+1
-12
Lib/ctypes/test/test_bitfields.py
Lib/ctypes/test/test_bitfields.py
+0
-1
Lib/ctypes/test/test_pep3118.py
Lib/ctypes/test/test_pep3118.py
+1
-1
Lib/lib2to3/tests/support.py
Lib/lib2to3/tests/support.py
+0
-2
Lib/test/eintrdata/eintr_tester.py
Lib/test/eintrdata/eintr_tester.py
+0
-1
Lib/test/test_eintr.py
Lib/test/test_eintr.py
+0
-1
Lib/test/test_imp.py
Lib/test/test_imp.py
+0
-1
Lib/test/test_json/test_fail.py
Lib/test/test_json/test_fail.py
+0
-1
Lib/test/test_subprocess.py
Lib/test/test_subprocess.py
+0
-1
Lib/test/test_symbol.py
Lib/test/test_symbol.py
+0
-1
Lib/test/test_threading.py
Lib/test/test_threading.py
+0
-1
Lib/test/test_tools/__init__.py
Lib/test/test_tools/__init__.py
+0
-1
No files found.
Lib/ctypes/test/test_bitfields.py
View file @
a6f26c1d
...
...
@@ -3,7 +3,6 @@ from ctypes.test import need_symbol
import
unittest
import
os
import
ctypes
import
_ctypes_test
class
BITS
(
Structure
):
...
...
Lib/ctypes/test/test_pep3118.py
View file @
a6f26c1d
import
unittest
from
ctypes
import
*
import
re
,
s
truct
,
s
ys
import
re
,
sys
if
sys
.
byteorder
==
"little"
:
THIS_ENDIAN
=
"<"
...
...
Lib/lib2to3/tests/support.py
View file @
a6f26c1d
...
...
@@ -3,10 +3,8 @@
# Python imports
import
unittest
import
sys
import
os
import
os.path
import
re
from
textwrap
import
dedent
# Local imports
...
...
Lib/test/eintrdata/eintr_tester.py
View file @
a6f26c1d
...
...
@@ -10,7 +10,6 @@ sub-second periodicity (contrarily to signal()).
import
contextlib
import
faulthandler
import
io
import
os
import
select
import
signal
...
...
Lib/test/test_eintr.py
View file @
a6f26c1d
import
os
import
signal
import
subprocess
import
unittest
from
test
import
support
...
...
Lib/test/test_imp.py
View file @
a6f26c1d
...
...
@@ -6,7 +6,6 @@ import importlib
import
importlib.util
import
os
import
os.path
import
shutil
import
sys
from
test
import
support
import
unittest
...
...
Lib/test/test_json/test_fail.py
View file @
a6f26c1d
from
test.test_json
import
PyTest
,
CTest
import
re
# 2007-10-05
JSONDOCS
=
[
...
...
Lib/test/test_subprocess.py
View file @
a6f26c1d
import
unittest
from
test.support
import
script_helper
from
test
import
support
import
subprocess
import
sys
...
...
Lib/test/test_symbol.py
View file @
a6f26c1d
import
unittest
from
test
import
support
import
filecmp
import
os
import
sys
import
subprocess
...
...
Lib/test/test_threading.py
View file @
a6f26c1d
...
...
@@ -7,7 +7,6 @@ from test.support import verbose, import_module, cpython_only
from
test.support.script_helper
import
assert_python_ok
,
assert_python_failure
import
random
import
re
import
sys
_thread
=
import_module
(
'_thread'
)
threading
=
import_module
(
'threading'
)
...
...
Lib/test/test_tools/__init__.py
View file @
a6f26c1d
...
...
@@ -3,7 +3,6 @@ import os
import
unittest
import
importlib
from
test
import
support
from
fnmatch
import
fnmatch
basepath
=
os
.
path
.
dirname
(
# <src/install dir>
os
.
path
.
dirname
(
# Lib
...
...
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