Skip to content

Commit f0b6ee5

Browse files
committed
Blackened test file
1 parent 5c09fcf commit f0b6ee5

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

tests/test_server_types.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@
1010
def types_dict():
1111
d = {
1212
"fraction": Fraction(5, 2),
13-
"map1": {
14-
"string": "Hello",
15-
"bool": False,
16-
},
13+
"map1": {"string": "Hello", "bool": False},
1714
"int": 5,
1815
"list_int": [1, 2, 3, 4],
1916
"range": range(1, 5),
@@ -23,10 +20,7 @@ def types_dict():
2320

2421
s = {
2522
"fraction": fields.Float(),
26-
"map1": {
27-
"string": fields.String(),
28-
"bool": fields.Boolean(),
29-
},
23+
"map1": {"string": fields.String(), "bool": fields.Boolean()},
3024
"int": fields.Integer(),
3125
"list_int": fields.List(fields.Int()),
3226
"range": fields.List(fields.Int()),
@@ -74,4 +68,4 @@ def test_data_dict_to_schema(types_dict):
7468
gen_schema = Schema.from_dict(gen_schema_dict)()
7569
expected_schema = Schema.from_dict(expected_schema_dict)()
7670

77-
assert gen_schema.dump(data) == expected_schema.dump(data)
71+
assert gen_schema.dump(data) == expected_schema.dump(data)

0 commit comments

Comments
 (0)