]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Relax the Python version check for `__class_getitem__` tests 7049/head
authorlayday <layday@protonmail.com>
Sun, 19 Sep 2021 11:54:54 +0000 (14:54 +0300)
committerlayday <layday@protonmail.com>
Sun, 19 Sep 2021 11:54:54 +0000 (14:54 +0300)
commit7bd16d416db010e7140313fe326861cc263b8864
tree43debfd461d94c896ff0c888c195843bfe8c7572
parent4d9bc42f52e2c37e4285cce0a41bfd9b030834b7
Relax the Python version check for `__class_getitem__` tests

`__class_getitem__` to support generics was introduced in Python 3.7.
In 3.9 some built-ins were made generic but the functionality
for user-defined classes has been there since 3.7.
lib/sqlalchemy/testing/requirements.py
test/base/test_misc_py3k.py