Skip to content

Commit c61edb0

Browse files
committed
CLN: Reformat code
1 parent d7076a8 commit c61edb0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dataframe_sql/tests/pandas_sql_functionality_test.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1442,10 +1442,10 @@ def test_boolean_order_of_operations_with_parens():
14421442
)
14431443

14441444
pandas_frame = FOREST_FIRES.copy()
1445-
pandas_frame = pandas_frame[((pandas_frame['month'] == 'oct') &
1446-
(pandas_frame['day'] == 'fri')) |
1447-
((pandas_frame['month'] == 'nov') &
1448-
(pandas_frame['day'] == 'tue'))].reset_index(drop=True)
1445+
pandas_frame = pandas_frame[
1446+
((pandas_frame["month"] == "oct") & (pandas_frame["day"] == "fri"))
1447+
| ((pandas_frame["month"] == "nov") & (pandas_frame["day"] == "tue"))
1448+
].reset_index(drop=True)
14491449

14501450
tm.assert_frame_equal(pandas_frame, my_frame)
14511451

0 commit comments

Comments
 (0)