Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
Notify
Method · 0.80
__call__
Method · 0.80
push
Method · 0.80
output
Method · 0.80
Notify
Method · 0.80
call
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected