MCPcopy Create free account
hub / github.com/dask/dask / test_with_alias

Function test_with_alias

dask/diagnostics/tests/test_progress.py:118–129  ·  view source on GitHub ↗
(capsys)

Source from the content-addressed store, hash-verified

116
117
118def test_with_alias(capsys):
119 dsk = {
120 "a": 1,
121 "b": 2,
122 "c": (add, "a", "b"),
123 "d": (add, 1, 2),
124 "e": "d",
125 "f": (mul, "e", "c"),
126 }
127 with ProgressBar():
128 get_threaded(dsk, "f")
129 check_bar_completed(capsys)
130
131
132def test_store_time():

Callers

nothing calls this directly

Calls 2

ProgressBarClass · 0.90
check_bar_completedFunction · 0.85

Tested by

no test coverage detected