Skip to content

Commit 62813ae

Browse files
authored
Fix ordering of cat_dtypes["two"]
Shouldn't matter, but is consistent with original example
1 parent b693f2d commit 62813ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/reshape/merge/test_merge.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ def test_merge_equal_cat_dtypes(cat_dtype, reverse):
16741674
# see gh-22501
16751675
cat_dtypes = {
16761676
"one": CategoricalDtype(categories=["a", "b", "c"], ordered=False),
1677-
"two": CategoricalDtype(categories=["a", "b", "c"], ordered=False),
1677+
"two": CategoricalDtype(categories=["c", "b", "a"], ordered=False),
16781678
}
16791679

16801680
df1 = DataFrame({

0 commit comments

Comments
 (0)