summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-02-13 15:43:05 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2020-02-13 15:43:05 -0500
commit55f6d61e85b7f16df0b77f1c55a4fb051cd696e3 (patch)
tree574ee8c8f91740689cace7b09addc78bffb00de3 /lib/sqlalchemy
parent8fabe50d7a47b50215a7ea4cf1d39409d9529e51 (diff)
downloadsqlalchemy-55f6d61e85b7f16df0b77f1c55a4fb051cd696e3.tar.gz
Fractional seconds starts at Python 3.7
CI didn't notice that the fractional seconds in the new SQL Server DATETIMEOFFSET test are not available on Python 3.6. It was inadvertently assumed this was a Python 2 incompatibility. Change-Id: I9839eafbf7c37512eef1ecf666846983f9651c02
Diffstat (limited to 'lib/sqlalchemy')
-rw-r--r--lib/sqlalchemy/testing/requirements.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py
index 03d76eccb..c12d1e6e8 100644
--- a/lib/sqlalchemy/testing/requirements.py
+++ b/lib/sqlalchemy/testing/requirements.py
@@ -1029,6 +1029,13 @@ class SuiteRequirements(Requirements):
)
@property
+ def python37(self):
+ return exclusions.skip_if(
+ lambda: sys.version_info < (3, 7),
+ "Python version 3.7 or greater is required.",
+ )
+
+ @property
def cpython(self):
return exclusions.only_if(
lambda: util.cpython, "cPython interpreter needed"