We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf3bbf0 commit 17915fbCopy full SHA for 17915fb
tests/test_sanic.py
@@ -3,6 +3,11 @@
3
4
from async_generator import yield_, async_generator
5
import 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
11
import sanic
12
from sanic.response import text, json
13
@@ -12,8 +17,6 @@
17
from .models import DB_ARGS, PG_URL
18
14
19
_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")
20
21
22
def teardown_module():
0 commit comments