Skip to content

Commit 5a4dd5d

Browse files
committed
Ignore adjust some tests
1 parent 02b881b commit 5a4dd5d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pandas/tests/frame/test_stack_unstack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2304,7 +2304,7 @@ def test_stack_unstack_unordered_multiindex(self, future_stack):
23042304
)
23052305
expected = DataFrame(
23062306
[["a0", "b0"], ["a1", "b1"], ["a2", "b2"], ["a3", "b3"], ["a4", "b4"]],
2307-
index=[0, 1, 2, 3, 4],
2307+
index=range(5),
23082308
columns=MultiIndex.from_tuples(
23092309
[("a", "x"), ("b", "x")], names=["first", "second"]
23102310
),

pandas/tests/io/parser/dtypes/test_dtypes_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def test_numeric_dtype(all_parsers, any_real_numpy_dtype):
138138
expected = DataFrame([0, 1], dtype=any_real_numpy_dtype)
139139

140140
result = parser.read_csv(StringIO(data), header=None, dtype=any_real_numpy_dtype)
141-
tm.assert_frame_equal(expected, result)
141+
tm.assert_frame_equal(expected, result, check_column_type=False)
142142

143143

144144
@pytest.mark.usefixtures("pyarrow_xfail")

pandas/tests/reshape/merge/test_merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2966,7 +2966,7 @@ def test_merge_empty_frames_column_order(left_empty, right_empty):
29662966
df2 = df2.iloc[:0]
29672967

29682968
result = merge(df1, df2, on=["A"], how="outer")
2969-
expected = DataFrame(1, index=[0], columns=["A", "B", "C", "D"])
2969+
expected = DataFrame(1, index=range(1), columns=["A", "B", "C", "D"])
29702970
if left_empty and right_empty:
29712971
expected = expected.iloc[:0]
29722972
elif left_empty:

pandas/tests/window/test_dtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ def test_dataframe_dtypes(method, expected_data, dtypes, min_periods, step):
170170
else:
171171
result = getattr(rolled, method)()
172172
expected = DataFrame(expected_data, dtype="float64")[::step]
173-
tm.assert_frame_equal(result, expected)
173+
tm.assert_frame_equal(result, expected, check_column_type=False)

0 commit comments

Comments
 (0)