MCPcopy Index your code
hub / github.com/ipython/ipython / test_function

Function test_function

tests/test_tokenutil.py:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47
48def test_function():
49 cell = "foo(a=5, b='10')"
50 for i in range(len(cell)):
51 expect_token("foo", cell, i)
52 expect_token("a", "foo(|a, b)")
53 expect_token("foo", "foo(a|, b)")
54 expect_token("foo", "foo(a,| b)")
55 expect_token("b", "foo(a, |b)")
56 expect_token("foo", "foo(a, b|)")
57
58
59@pytest.mark.parametrize(

Callers 1

wrapperFunction · 0.85

Calls 1

expect_tokenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…