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

Method test_default

Lib/test/test_unittest/testmock/testasync.py:765–767  ·  view source on GitHub ↗
(mock_type)

Source from the content-addressed store, hash-verified

763
764 expected = ["FOO", "BAR", "BAZ"]
765 def test_default(mock_type):
766 mock_instance = mock_type(self.WithAsyncIterator())
767 self.assertEqual(run(iterate(mock_instance)), [])
768
769
770 def test_set_return_value(mock_type):

Callers

nothing calls this directly

Calls 3

runFunction · 0.90
iterateFunction · 0.85
assertEqualMethod · 0.45

Tested by

no test coverage detected