Skip to content

Commit 8a3f409

Browse files
committed
Remove obsolete "importorskip('unittest.mock')" calls
1 parent 8f2f3bb commit 8a3f409

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

testing/python/integration.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def f(x, y, z):
126126
assert values == ("y", "z")
127127

128128
def test_unittest_mock(self, testdir):
129-
pytest.importorskip("unittest.mock")
130129
testdir.makepyfile(
131130
"""
132131
import unittest.mock
@@ -142,7 +141,6 @@ def test_hello(self, abspath):
142141
reprec.assertoutcome(passed=1)
143142

144143
def test_unittest_mock_and_fixture(self, testdir):
145-
pytest.importorskip("unittest.mock")
146144
testdir.makepyfile(
147145
"""
148146
import os.path
@@ -164,7 +162,6 @@ def test_hello(inject_me):
164162
reprec.assertoutcome(passed=1)
165163

166164
def test_unittest_mock_and_pypi_mock(self, testdir):
167-
pytest.importorskip("unittest.mock")
168165
pytest.importorskip("mock", "1.0.1")
169166
testdir.makepyfile(
170167
"""

0 commit comments

Comments
 (0)