summaryrefslogtreecommitdiff
path: root/Lib/unittest
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-24 07:31:42 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-04-24 07:31:42 +0300
commit65da519b99fbd7ad7b99479029d802eef0973c97 (patch)
tree8bf607766d1a1b3682c3ac024bc628b5d08fe8fb /Lib/unittest
parente35ea6ba08baadcf9cd98d266e74af4271433ba0 (diff)
downloadcpython-65da519b99fbd7ad7b99479029d802eef0973c97.tar.gz
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 f4738793b3..205431adca 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)