Skip to content

Commit

Permalink
upgrade pyYAML supported versions in setup.py (#1478)
Browse files Browse the repository at this point in the history
Fix test using pyYAML
  • Loading branch information
jonasboecquaert authored Mar 7, 2022
1 parent a1dddf6 commit 37f729c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def read_version(package):
install_requires = [
'clickclick>=1.2,<21',
'jsonschema>=2.5.1,<5',
'PyYAML>=5.1,<6',
'PyYAML>=5.1,<7',
'requests>=2.9.1,<3',
'inflection>=0.3.1,<0.6',
'werkzeug>=1.0,<3',
Expand Down
2 changes: 1 addition & 1 deletion tests/aiohttp/test_aiohttp_simple_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def test_swagger_yaml(aiohttp_api_spec_dir, aiohttp_client):
data_ = await spec_response.read()

assert spec_response.status == 200
assert api.specification.raw == yaml.load(data_)
assert api.specification.raw == yaml.load(data_, yaml.FullLoader)


async def test_no_swagger_json(aiohttp_api_spec_dir, aiohttp_client):
Expand Down

0 comments on commit 37f729c

Please sign in to comment.