From f8988db9372802053db60e311960f5da4defba02 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:44:00 +0000 Subject: style: format code with Autopep8, Black and Ruff Formatter This commit fixes the style issues introduced in a05a371 according to the output from Autopep8, Black and Ruff Formatter. Details: https://github.com/ajschofield/de-project-bentley/pull/98 --- tests/test_dataframes.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/test_dataframes.py') diff --git a/tests/test_dataframes.py b/tests/test_dataframes.py index c9ff43f..cc133fe 100644 --- a/tests/test_dataframes.py +++ b/tests/test_dataframes.py @@ -252,6 +252,7 @@ class TestCreateFactPayment: "payment": pd.DataFrame( data=[ [ +<<<<<<< HEAD dt.strptime( "2022-11-03 14:20:49.962846", "%Y-%m-%d %H:%M:%S.%f" ), @@ -261,6 +262,13 @@ class TestCreateFactPayment: 1, "SE18 9QO", "2020-07-16", +======= + dt(2020, 5, 17, 6, 15, 20), + dt(2020, 5, 20, 8, 19, 30), + 1, + "SE18 9QO", + "2020-7-16", +>>>>>>> 5db3f61 (style: format code with Autopep8, Black and Ruff Formatter) ] ], columns=[ @@ -287,5 +295,10 @@ class TestCreateFactPayment: for col in list(result.columns): assert col in expected_cols for col in expected_cols: +<<<<<<< HEAD if "_date" or "_time" in col: assert result[col].dtype == "O" +======= + if "date" in col: + assert result[col].dtype == "datetime64[ns]" +>>>>>>> 5db3f61 (style: format code with Autopep8, Black and Ruff Formatter) -- cgit v1.2.3