MCPcopy Index your code
hub / github.com/python/cpython / test_one

Method test_one

Lib/test/test_unittest/testmock/testpatch.py:1283–1284  ·  view source on GitHub ↗
(self, mock_foo)

Source from the content-addressed store, hash-verified

1281 def test_two(self, mock_foo):
1282 self._test(mock_foo)
1283 def test_one(self, mock_foo):
1284 self._test(mock_foo)
1285
1286 SomeTest = patch(foo_name, new_callable=SomeClass)(SomeTest)
1287 SomeTest().test_one()

Calls 1

_testMethod · 0.95

Tested by

no test coverage detected