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

Function test_GetFunctionTestMixin_class

dask/tests/test_core.py:103–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102
103def test_GetFunctionTestMixin_class():
104 class TestCustomGetFail(GetFunctionTestMixin):
105 get = staticmethod(lambda x, y: 1)
106
107 custom_testget = TestCustomGetFail()
108 pytest.raises(AssertionError, custom_testget.test_get)
109
110 class TestCustomGetPass(GetFunctionTestMixin):
111 get = staticmethod(get)
112
113 custom_testget = TestCustomGetPass()
114 custom_testget.test_get()
115
116
117def test_get_dependencies_nested():

Callers

nothing calls this directly

Calls 3

TestCustomGetFailClass · 0.85
TestCustomGetPassClass · 0.85
test_getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…