HOME


sh-3ll 1.0
DIR:/opt/cloudlinux/venv/lib64/python3.11/site-packages/pandas/tests/indexes/multi/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pandas/tests/indexes/multi/test_pickle.py
import pytest

from pandas import MultiIndex


def test_pickle_compat_construction():
    # this is testing for pickle compat
    # need an object to create with
    with pytest.raises(TypeError, match="Must pass both levels and codes"):
        MultiIndex()