From 4c09a8652df1d0ed4049364caae73ca4bd904317 Mon Sep 17 00:00:00 2001 From: Gaston Avila Date: Wed, 19 Feb 2020 13:23:10 -0300 Subject: [PATCH] Formatting fix --- tests/test_dump.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_dump.py b/tests/test_dump.py index 11ef40f..5784b32 100644 --- a/tests/test_dump.py +++ b/tests/test_dump.py @@ -402,6 +402,7 @@ class TestSchema(Schema): def test_allow_none(): """A field with allow_none set to True should have type null as additional.""" + class TestSchema(Schema): id = fields.Integer(required=True) readonly_fld = fields.String(allow_none=True) @@ -412,7 +413,7 @@ class TestSchema(Schema): assert dumped["definitions"]["TestSchema"]["properties"]["readonly_fld"] == { "title": "readonly_fld", - "type": ["string", "null"] + "type": ["string", "null"], }