Skip to content

Commit cf3bbf0

Browse files
committed
Skip Sanic test for Python 3.5
1 parent e98c4dd commit cf3bbf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_sanic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import asyncio
2+
import sys
23

34
from async_generator import yield_, async_generator
45
import pytest
@@ -11,6 +12,8 @@
1112
from .models import DB_ARGS, PG_URL
1213

1314
_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")
1417

1518

1619
def teardown_module():

0 commit comments

Comments
 (0)