summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 18:41:02 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 18:41:02 (GMT)
commite437a10d15ddfd21d406e591acccf12ff443194e (patch)
treef6227687646fda64f9eaf485ae2d9c3f55709232 /Lib/unittest
parent597d15afe45ea3a8613d336e68a0a98b8846e603 (diff)
downloadcpython-e437a10d15ddfd21d406e591acccf12ff443194e.zip
cpython-e437a10d15ddfd21d406e591acccf12ff443194e.tar.gz
cpython-e437a10d15ddfd21d406e591acccf12ff443194e.tar.bz2
Issue #23277: Remove unused imports in tests.
Diffstat (limited to 'Lib/unittest')
-rw-r--r--Lib/unittest/test/testmock/testmagicmethods.py1
-rw-r--r--Lib/unittest/test/testmock/testpatch.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/Lib/unittest/test/testmock/testmagicmethods.py b/Lib/unittest/test/testmock/testmagicmethods.py
index bb9b956..24569b5 100644
--- a/Lib/unittest/test/testmock/testmagicmethods.py
+++ b/Lib/unittest/test/testmock/testmagicmethods.py
@@ -1,5 +1,4 @@
import unittest
-import inspect
import sys
from unittest.mock import Mock, MagicMock, _magics
diff --git a/Lib/unittest/test/testmock/testpatch.py b/Lib/unittest/test/testmock/testpatch.py
index dfce369..2e0c08f 100644
--- a/Lib/unittest/test/testmock/testpatch.py
+++ b/Lib/unittest/test/testmock/testpatch.py
@@ -10,9 +10,9 @@ from unittest.test.testmock import support
from unittest.test.testmock.support import SomeClass, is_instance
from unittest.mock import (
- NonCallableMock, CallableMixin, patch, sentinel,
+ NonCallableMock, CallableMixin, sentinel,
MagicMock, Mock, NonCallableMagicMock, patch, _patch,
- DEFAULT, call, _get_target, _patch
+ DEFAULT, call, _get_target
)