MCPcopy Index your code
hub / github.com/dask/dask / test_dot_graph_defaults

Function test_dot_graph_defaults

dask/tests/test_dot.py:268–280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266
267
268def test_dot_graph_defaults():
269 # Test with default args.
270 default_name = "mydask"
271 default_format = "png"
272 target = ".".join([default_name, default_format])
273
274 ensure_not_exists(target)
275 try:
276 result = dot_graph(dsk)
277 assert os.path.isfile(target)
278 assert isinstance(result, Image)
279 finally:
280 ensure_not_exists(target)
281
282
283def test_cytoscape_graph(tmpdir):

Callers

nothing calls this directly

Calls 3

ensure_not_existsFunction · 0.90
dot_graphFunction · 0.90
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…