ai-content-maker/.venv/Lib/site-packages/pandas/tests/indexes/multi/test_pickle.py

11 lines
259 B
Python
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
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()