Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ test_pdf_formatter
Function
test_pdf_formatter
IPython/core/tests/test_formatters.py:307–310 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
305
return
'PDF'
306
307
def
test_pdf_formatter():
308
pdf = MakePDF()
309
f = PDFFormatter()
310
nt.assert_equal(f(pdf),
'PDF'
)
311
312
def
test_print_method_bound():
313
f = HTMLFormatter()
Callers
nothing calls this directly
Calls
3
PDFFormatter
Class · 0.90
MakePDF
Class · 0.85
f
Function · 0.70
Tested by
no test coverage detected