MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_empty_line

Function test_empty_line

lib/matplotlib/tests/test_backend_ps.py:289–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287
288
289def test_empty_line():
290 # Smoke-test for gh#23954
291 figure = Figure()
292 figure.text(0.5, 0.5, "\nfoo\n\n")
293 buf = io.BytesIO()
294 figure.savefig(buf, format='eps')
295 figure.savefig(buf, format='ps')
296
297
298def test_no_duplicate_definition():

Callers

nothing calls this directly

Calls 3

savefigMethod · 0.95
FigureClass · 0.90
textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…