From b37a92258b693f78c20dfc3bf4b18ff6b68cb81a Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Tue, 11 May 2021 19:16:07 +0100 Subject: [PATCH] fix formatting --- tests/test_datetime_parse.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/test_datetime_parse.py b/tests/test_datetime_parse.py index 032cbbebf96..da42bc5353c 100644 --- a/tests/test_datetime_parse.py +++ b/tests/test_datetime_parse.py @@ -269,14 +269,6 @@ class Model(BaseModel): with pytest.raises(ValidationError) as exc_info: Model(dt='nan', d='nan') assert exc_info.value.errors() == [ - { - 'loc': ('dt',), - 'msg': 'cannot convert float NaN to integer', - 'type': 'value_error', - }, - { - 'loc': ('d',), - 'msg': 'cannot convert float NaN to integer', - 'type': 'value_error', - }, + {'loc': ('dt',), 'msg': 'cannot convert float NaN to integer', 'type': 'value_error'}, + {'loc': ('d',), 'msg': 'cannot convert float NaN to integer', 'type': 'value_error'}, ]