]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Skip sub-minute timezone tests for Python 3 < 3.7
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Dec 2019 16:47:08 +0000 (11:47 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Dec 2019 16:48:55 +0000 (11:48 -0500)
commit42d1f8b11d50436e9e7a9a8f6d51cbfc5d6dae59
tree2639bf576c8abfb43fc82be49c397ca8827a0440
parent858799a023dd35528815bf26b786c259be0f0677
Skip sub-minute timezone tests for Python 3 < 3.7

The datetime.timezone class as of Python 3.7, or SQLAlchemy's port for Python
2, supports seconds and microseconds.  For Python 3.6 and earlier, it is not
supported.

Fixes: #5016
Change-Id: Ia347d5a9958c0fa53317b2e340162e2009667bc2
(cherry picked from commit 380f4389922004589bfa7cb4f9b8c8208aa68659)
test/base/test_utils.py
test/requirements.py