Closed
Description
=================================== FAILURES ===================================
____ TestStringMethods.test_api_per_method[index-empty0-get_dummies-object] ____
[gw0] linux -- Python 3.7.6 /home/vsts/miniconda3/envs/pandas-dev/bin/python
copy=False,
name=None,
verify_integrity: bool = True,
_set_identity: bool = True,
):
# compat with Index
if name is not None:
names = name
if levels is None or codes is None:
raise TypeError("Must pass both levels and codes")
if len(levels) != len(codes):
raise ValueError("Length of levels and codes must be the same.")
if len(levels) == 0:
> raise ValueError("Must pass non-zero number of levels/codes")
E ValueError: Must pass non-zero number of levels/codes
pandas/core/indexes/multi.py:271: ValueError
In the failing cases we dynamically add a an xfail marker:
pandas/pandas/tests/test_strings.py
Lines 266 to 268 in f477a0e
For now we can pin pytest.