File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ bumpversion==0.5.3 # pyup: update minor
55wheel==0.33.0 # pyup: update minor
66cryptography==2.7 # pyup: update minor
77psycopg2-binary==2.8.1 # pyup: update minor
8- sanic==19.3.1 # pyup: update minor
9- aiohttp==3.6.0 # pyup: update minor
8+ sanic==19.3.1;python_version>="3.6" # pyup: update minor
9+ aiohttp==3.6.0;python_version>="3.5.3" # pyup: update minor
1010tornado==6.0 # pyup: update minor
1111async_generator==1.10 # pyup: update minor
1212quart==0.10.0;python_version>="3.7" # pyup: update minor
Original file line number Diff line number Diff line change 33
44from async_generator import yield_ , async_generator
55import pytest
6+
7+ # Sanic 19.6 dropped Python 3.5 support
8+ if sys .version_info < (3 , 6 ):
9+ raise pytest .skip (allow_module_level = True )
10+
611import sanic
712from sanic .response import text , json
813
1217from .models import DB_ARGS , PG_URL
1318
1419_MAX_INACTIVE_CONNECTION_LIFETIME = 59.0
15- pytestmark = pytest .mark .skipif (sys .version_info < (3 , 6 ),
16- reason = "Sanic 19.6 dropped Python 3.5 support" )
1720
1821
1922def teardown_module ():
You can’t perform that action at this time.
0 commit comments