MCPcopy Index your code
hub / github.com/RustPython/RustPython / assert_in

Function assert_in

extra_tests/snippets/testutils.py:77–78  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

75
76
77def assert_in(a, b):
78 _assert_print(lambda: a in b, [a, "in", b])
79
80
81def skip_if_unsupported(req_maj_vers, req_min_vers, test_fct):

Callers 1

stdlib_datetime.pyFile · 0.90

Calls 1

_assert_printFunction · 0.85

Tested by

no test coverage detected