Skip to content

Commit

Permalink
Skip Sanic test for Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Sep 8, 2019
1 parent 173245c commit 4aad906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_sanic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import asyncio
import sys

from async_generator import yield_, async_generator
import pytest
Expand All @@ -11,6 +12,8 @@
from .models import DB_ARGS, PG_URL

_MAX_INACTIVE_CONNECTION_LIFETIME = 59.0
pytestmark = pytest.mark.skipif(sys.version_info < (3, 6),
reason="Sanic 19.6 dropped Python 3.5 support")


def teardown_module():
Expand Down

0 comments on commit 4aad906

Please sign in to comment.