Пример #1
0
def test_match_values() -> None:
    mapping = {"callable": len, "int": 1}  # type: T.Dict[T.Hashable, T.Any]
    res = cfcoords.match_values(callable, mapping)

    assert res == ["callable"]
Пример #2
0
def test_match_values():
    mapping = {'callable': len, 'int': 1}
    res = cfcoords.match_values(callable, mapping)

    assert res == ['callable']
Пример #3
0
def test_match_values():
    mapping = {"callable": len, "int": 1}
    res = cfcoords.match_values(callable, mapping)

    assert res == ["callable"]