From b3ab8126a79306d523c682878ef9aa1311db4416 Mon Sep 17 00:00:00 2001 From: Marc Date: Mon, 23 Nov 2020 10:35:32 +0100 Subject: [PATCH] fix flake8 --- tests/test_date.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test_date.py b/tests/test_date.py index 335a5aa8b..ed50fff05 100644 --- a/tests/test_date.py +++ b/tests/test_date.py @@ -264,10 +264,11 @@ def test_should_parse_date(self, date_string, date_formats, expected_result): expected_result=datetime(2018, 1, 26, 16, 32, 21)), param(date_string='15/04/1904 14:05 +0004', date_formats=['%d/%m/%Y %H:%M %z'], expected_result=datetime(1904, 4, 15, 14, 5, tzinfo=timezone(timedelta(0, 240)))), - param(date_string='20-05-1994 23:00 GMT', date_formats=['%d-%m-%Y %H:%M %Z'], - expected_result=datetime( - 1994, 5, 20, 23, 0, tzinfo=StaticTzInfo('GMT', timedelta(seconds=0)) - )), + param( + date_string='20-05-1994 23:00 GMT', date_formats=['%d-%m-%Y %H:%M %Z'], expected_result=datetime( + 1994, 5, 20, 23, 0, tzinfo=StaticTzInfo('GMT', timedelta(seconds=0)) + ) + ), ]) def test_should_parse_localized_dates(self, date_string, date_formats, expected_result): self.when_date_is_parsed_with_formats(date_string, date_formats)