test_pickle.py 259 B

12345678910
  1. import pytest
  2. from pandas import MultiIndex
  3. def test_pickle_compat_construction():
  4. # this is testing for pickle compat
  5. # need an object to create with
  6. with pytest.raises(TypeError, match="Must pass both levels and codes"):
  7. MultiIndex()