We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea26faa commit 86b1b7eCopy full SHA for 86b1b7e
pandas/tests/io/pytables/test_append.py
@@ -6,6 +6,10 @@
6
import pytest
7
8
from pandas._libs.tslibs import Timestamp
9
+from pandas.compat import (
10
+ PY312,
11
+ is_platform_linux,
12
+)
13
14
import pandas as pd
15
from pandas import (
@@ -145,6 +149,10 @@ def test_append_series(setup_path):
145
149
mi.set_index(["C", "B"], inplace=True)
146
150
s = mi.stack()
147
151
s.index = s.index.droplevel(2)
152
+
153
+ if not PY312 and is_platform_linux():
154
+ pytest.skip("incorrect MultiIndex on linux + python < 3.12")
155
148
156
store.append("mi", s)
157
tm.assert_series_equal(store["mi"], s, check_index_type=True)
158
0 commit comments