summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/orm/extensions/asyncio.rst2
-rwxr-xr-xtest/conftest.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/build/orm/extensions/asyncio.rst b/doc/build/orm/extensions/asyncio.rst
index f3012e5bc..2afda1c10 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 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")