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

Method setUp

Lib/test/test_fileinput.py:853–854  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

851 """Unit tests for fileinput.hook_compressed()"""
852
853 def setUp(self):
854 self.fake_open = InvocationRecorder()
855
856 def test_empty_string(self):
857 self.do_test_use_builtin_open_text("", "r")

Callers

nothing calls this directly

Calls 1

InvocationRecorderClass · 0.85

Tested by

no test coverage detected