Skip to content

Commit 6ff1608

Browse files
committed
Additional test fix
1 parent 186e8d3 commit 6ff1608

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modin/tests/pandas/extensions/test_pd_extensions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ def python_concat(*args, **kwargs):
163163
== "pandas_concat_result"
164164
)
165165

166+
# With inplace casting we need to reset the original dataframes
167+
with config_context(Backend="Pandas"):
168+
modin_on_pandas_df = pd.DataFrame({"a": [1, 2, 3]})
169+
with config_context(Backend="Python_Test"):
170+
modin_on_python_df = pd.DataFrame({"a": [4, 5, 6]})
171+
166172
assert (
167173
pd.concat([modin_on_python_df, modin_on_pandas_df])
168174
== "python_concat_result"

0 commit comments

Comments
 (0)