summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-24 04:31:42 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-04-24 04:31:42 (GMT)
commit1e8ee9b3808cd6c1a7a29c75115d1060a8ee877b (patch)
tree9c5d557fb8c405a96717868314df06476749cb36 /Lib/unittest
parent37917369d5772943e1e417df58e4e7d3db75b083 (diff)
downloadcpython-1e8ee9b3808cd6c1a7a29c75115d1060a8ee877b.zip
cpython-1e8ee9b3808cd6c1a7a29c75115d1060a8ee877b.tar.gz
cpython-1e8ee9b3808cd6c1a7a29c75115d1060a8ee877b.tar.bz2
Issue #23277: Remove unused sys and os imports
Patch by Jon Dufresne.
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/test/testmock/support.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/unittest/test/testmock/support.py b/Lib/unittest/test/testmock/support.py
index f473879..205431a 100644
--- a/Lib/unittest/test/testmock/support.py
+++ b/Lib/unittest/test/testmock/support.py
@@ -1,5 +1,3 @@
-import sys
-
def is_instance(obj, klass):
"""Version of is_instance that doesn't access __class__"""
return issubclass(type(obj), klass)