Skip to content

Commit dcedd38

Browse files
committed
formatting fix
1 parent b175da3 commit dcedd38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/unit/test_schemas.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import mock
2-
import warnings
32
import pytest
43

54
from openapi_core.exceptions import InvalidValueType, InvalidValue
@@ -74,14 +73,14 @@ def test_integer_valid(self):
7473
assert result == int(value)
7574

7675
def test_integer_enum_invalid(self):
77-
schema = Schema('integer', enum=[1,2,3])
76+
schema = Schema('integer', enum=[1, 2, 3])
7877
value = '123'
7978

8079
with pytest.raises(InvalidValue):
8180
schema.unmarshal(value)
8281

8382
def test_integer_enum(self):
84-
schema = Schema('integer', enum=[1,2,3])
83+
schema = Schema('integer', enum=[1, 2, 3])
8584
value = '2'
8685

8786
result = schema.unmarshal(value)

0 commit comments

Comments
 (0)