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

Method test_failing

IPython/testing/tests/test_tools.py:78–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

76 print(b"ghi")
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
87
88class Test_ipexec_validate(tt.TempFileMixin):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected