Skip to content

Commit a0cc7ef

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c8579a7 commit a0cc7ef

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

tests/test_base_parser.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,14 @@ def test_load_fail():
3737

3838
def test_parse_fail():
3939
with pytest.raises(ValidationError):
40-
BaseParser(
41-
spec_string="""---
42-
invalid 'a'sda YAML"""
43-
)
40+
BaseParser(spec_string="""---
41+
invalid 'a'sda YAML""")
4442

4543

4644
def test_version_fail():
4745
with pytest.raises(ValidationError):
48-
BaseParser(
49-
spec_string="""---
50-
openapi: 4.0.0"""
51-
)
46+
BaseParser(spec_string="""---
47+
openapi: 4.0.0""")
5248

5349

5450
def test_filename_or_spec():

0 commit comments

Comments
 (0)