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

Function test_deprecated_version

dask/tests/test_utils.py:822–828  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

820
821
822def test_deprecated_version():
823 @_deprecated(version="1.2.3")
824 def foo():
825 return "bar"
826
827 with pytest.warns(FutureWarning, match="deprecated in version 1.2.3"):
828 assert foo() == "bar"
829
830
831def test_deprecated_after_version():

Callers

nothing calls this directly

Calls 1

fooFunction · 0.70

Tested by

no test coverage detected