diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-13 23:05:57 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-13 23:05:57 -0400 |
commit | 788ba204a43b37d28cc690138b83e6782f8a46da (patch) | |
tree | e1bcb714f2bef40abc85e31bec66290a2fa54d29 /test/conftest.py | |
parent | d1f13635c398c6dcd9d04228c590546266cda00b (diff) | |
download | sqlalchemy-788ba204a43b37d28cc690138b83e6782f8a46da.tar.gz |
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
Diffstat (limited to 'test/conftest.py')
-rwxr-xr-x | test/conftest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/conftest.py b/test/conftest.py index 92d3e0776..63f3989eb 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") |