MCPcopy Index your code
hub / github.com/pydata/xarray / test_find_stack_level

Function test_find_stack_level

xarray/tests/test_utils.py:384–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382
383
384def test_find_stack_level():
385 assert utils.find_stack_level() == 1
386 assert utils.find_stack_level(test_mode=True) == 2
387
388 def f():
389 return utils.find_stack_level(test_mode=True)
390
391 assert f() == 3
392
393
394def test_attempt_import() -> None:

Callers

nothing calls this directly

Calls 1

fFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…