Skip to content

Commit 241f141

Browse files
committed
Format
1 parent bd2ab17 commit 241f141

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/frame/constructors/test_from_records.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,11 +492,10 @@ def test_from_records_structured_array(self):
492492
expected_result = DataFrame(modified_data)
493493

494494
tm.assert_frame_equal(actual_result, expected_result)
495-
496-
495+
497496
def test_from_records_empty_iterator_with_preserve_columns(self):
498497
# GH#61140
499498
rows = []
500499
result = DataFrame.from_records(iter(rows), columns=["col_1", "Col_2"], nrows=0)
501-
expected = DataFrame([],columns=["col_1", "Col_2"])
500+
expected = DataFrame([], columns=["col_1", "Col_2"])
502501
tm.assert_frame_equal(result, expected)

0 commit comments

Comments
 (0)