diff --git a/pandas/io/tests/test_clipboard.py b/pandas/io/tests/test_clipboard.py index 12c696f7076a4..f5b5ba745d83c 100644 --- a/pandas/io/tests/test_clipboard.py +++ b/pandas/io/tests/test_clipboard.py @@ -43,7 +43,7 @@ def check_round_trip_frame(self, data_type): data = self.data[data_type] data.to_clipboard() result = read_clipboard() - tm.assert_frame_equal(data, result) + tm.assert_frame_equal(data, result, check_dtype=False) def test_round_trip_frame(self): for dt in self.data_types: diff --git a/pandas/tests/test_graphics.py b/pandas/tests/test_graphics.py index aa989e9d785f8..45289dac44254 100644 --- a/pandas/tests/test_graphics.py +++ b/pandas/tests/test_graphics.py @@ -492,7 +492,7 @@ def test_xcompat(self): def test_unsorted_index(self): df = DataFrame({'y': np.arange(100)}, - index=np.arange(99, -1, -1)) + index=np.arange(99, -1, -1), dtype=np.int64) ax = df.plot() l = ax.get_lines()[0] rs = l.get_xydata()