REF: Replacing `axis in` with `_get_axis_number(axis)`
xref [#43048](https://github.com/pandas-dev/pandas/issues/43048). Refactored test_label_or_level_utils.py
Hello @RohanTrix! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2021-08-20 17:24:56 UTC lgtm pending green tests thanks @RohanTrix very nice. Leavning the issue open if there are additional cases. Thanks @jreback !