Check that 'needle' is in 'haystack'
(needle: str, haystack: str)
| 897 | |
| 898 | |
| 899 | def assert_in(needle: str, haystack: str): |
| 900 | """ |
| 901 | Check that 'needle' is in 'haystack' |
| 902 | """ |
| 903 | if needle not in haystack: |
| 904 | raise AssertionError(f"item not found:\n{needle}\nin:\n{haystack}") |
| 905 | |
| 906 | |
| 907 | @tvm.testing.skip_if_wheel_test |
no outgoing calls
no test coverage detected
searching dependent graphs…