Skip to content

Commit b37a922

Browse files
committed
fix formatting
1 parent ac360c5 commit b37a922

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

tests/test_datetime_parse.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,14 +269,6 @@ class Model(BaseModel):
269269
with pytest.raises(ValidationError) as exc_info:
270270
Model(dt='nan', d='nan')
271271
assert exc_info.value.errors() == [
272-
{
273-
'loc': ('dt',),
274-
'msg': 'cannot convert float NaN to integer',
275-
'type': 'value_error',
276-
},
277-
{
278-
'loc': ('d',),
279-
'msg': 'cannot convert float NaN to integer',
280-
'type': 'value_error',
281-
},
272+
{'loc': ('dt',), 'msg': 'cannot convert float NaN to integer', 'type': 'value_error'},
273+
{'loc': ('d',), 'msg': 'cannot convert float NaN to integer', 'type': 'value_error'},
282274
]

0 commit comments

Comments
 (0)