left and right are equal, treating index and array as equivalent
(left, right, check_divisions=False)
| 398 | |
| 399 | |
| 400 | def assert_array_index_eq(left, right, check_divisions=False): |
| 401 | """left and right are equal, treating index and array as equivalent""" |
| 402 | assert_eq( |
| 403 | left, |
| 404 | pd.Index(right) if isinstance(right, np.ndarray) else right, |
| 405 | check_divisions=check_divisions, |
| 406 | ) |
| 407 | |
| 408 | |
| 409 | def test_return_type_known_categories(): |
no test coverage detected