(compat)
| 988 | |
| 989 | |
| 990 | def _compat_to_str(compat): |
| 991 | if callable(compat): |
| 992 | compat = compat.__name__ |
| 993 | |
| 994 | if compat == "equals": |
| 995 | return "equal" |
| 996 | elif compat == "allclose": |
| 997 | return "close" |
| 998 | else: |
| 999 | return compat |
| 1000 | |
| 1001 | |
| 1002 | def diff_indexes_repr(a_indexes, b_indexes, col_width: int = 20) -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…