From: Mike Bayer Date: Fri, 14 Aug 2020 03:05:57 +0000 (-0400) Subject: Dont run py3k-only test files on Python 3.5 X-Git-Tag: rel_1_4_0b1~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788ba204a43b37d28cc690138b83e6782f8a46da;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Dont run py3k-only test files on Python 3.5 these are failing on the github runners because 3.5 doesnt have the async keywords. Change-Id: I9c58d38f8d7595313b7648b9840b334da8238bd0 --- diff --git a/doc/build/orm/extensions/asyncio.rst b/doc/build/orm/extensions/asyncio.rst index f3012e5bcb..2afda1c102 100644 --- a/doc/build/orm/extensions/asyncio.rst +++ b/doc/build/orm/extensions/asyncio.rst @@ -8,6 +8,8 @@ included, using asyncio-compatible dialects. .. versionadded:: 1.4 +The asyncio extension requires at least Python version 3.6. + .. note:: The asyncio should be regarded as **alpha level** for the 1.4 release of SQLAlchemy. API details are **subject to change** at diff --git a/test/conftest.py b/test/conftest.py index 92d3e07768..63f3989ebc 100755 --- a/test/conftest.py +++ b/test/conftest.py @@ -13,7 +13,10 @@ import pytest collect_ignore_glob = [] -if sys.version_info[0] < 3: + +# minimum version for a py3k only test is at +# 3.6 because these are asyncio tests anyway +if sys.version_info[0:2] < (3, 6): collect_ignore_glob.append("*_py3k.py") pytest.register_assert_rewrite("sqlalchemy.testing.assertions")