summaryrefslogtreecommitdiff
path: root/mock
diff options
context:
space:
mode:
authorChris Withers <chris@withers.org>2019-04-30 08:10:59 +0100
committerChris Withers <chris@withers.org>2019-04-30 08:39:55 +0100
commitcee1b0613006ec388dc2a55b2c0027090c3b7f28 (patch)
tree1e5831fb890779ab86da6b69de147890f6b3f1f5 /mock
parent6039ff3979a1bed5a5737d71dde8d0e91f4a46e1 (diff)
downloadmock-cee1b0613006ec388dc2a55b2c0027090c3b7f28.tar.gz
no subtest on Py2.
Diffstat (limited to 'mock')
-rw-r--r--mock/tests/testmock.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mock/tests/testmock.py b/mock/tests/testmock.py
index ae37637..f727831 100644
--- a/mock/tests/testmock.py
+++ b/mock/tests/testmock.py
@@ -1493,7 +1493,6 @@ class MockTest(unittest.TestCase):
def static_method():
pass
for method in ('class_method', 'static_method'):
- with self.subTest(method=method):
mock_method = mock.create_autospec(getattr(TestClass, method))
mock_method()
mock_method.assert_called_once_with()