summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:05:30 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 21:05:30 (GMT)
commita6f26c1d3495670c02c2ceb1e38ada0d468579f7 (patch)
tree0fe173ee82748239d48aa022592ae68f90a044de /Lib/ctypes
parentfd2839e1de4e1eac61d982fe3a0d2b4602f3fd3e (diff)
downloadcpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.zip
cpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.tar.gz
cpython-a6f26c1d3495670c02c2ceb1e38ada0d468579f7.tar.bz2
Remove more unused imports in tests.
Diffstat (limited to 'Lib/ctypes')
-rw-r--r--Lib/ctypes/test/test_bitfields.py1
-rw-r--r--Lib/ctypes/test/test_pep3118.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/ctypes/test/test_bitfields.py b/Lib/ctypes/test/test_bitfields.py
index b39d82c..0eb09fb 100644
--- a/Lib/ctypes/test/test_bitfields.py
+++ b/Lib/ctypes/test/test_bitfields.py
@@ -3,7 +3,6 @@ from ctypes.test import need_symbol
import unittest
import os
-import ctypes
import _ctypes_test
class BITS(Structure):
diff --git a/Lib/ctypes/test/test_pep3118.py b/Lib/ctypes/test/test_pep3118.py
index 32f802c..d68397e 100644
--- a/Lib/ctypes/test/test_pep3118.py
+++ b/Lib/ctypes/test/test_pep3118.py
@@ -1,6 +1,6 @@
import unittest
from ctypes import *
-import re, struct, sys
+import re, sys
if sys.byteorder == "little":
THIS_ENDIAN = "<"