MCPcopy Create free account
hub / github.com/ipython/ipython / func

Method func

IPython/testing/tests/test_tools.py:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78 def test_failing(self):
79 def func():
80 with tt.AssertPrints("abc"):
81 print("acd")
82 print("def")
83 print(b"ghi")
84
85 self.assertRaises(AssertionError, func)
86

Callers 6

NotifyMethod · 0.80
__call__Method · 0.80
pushMethod · 0.80
outputMethod · 0.80
NotifyMethod · 0.80
callMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected