]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Support pytest 6.x
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 27 Sep 2020 01:05:53 +0000 (21:05 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 28 Sep 2020 02:22:57 +0000 (22:22 -0400)
commit8690940976544f368dad31cfbc46d9e1426b2ce1
tree345bc5036efed496025f41ac822d6103c8136c63
parentbcc3c1ac3237970070cff26c48c1c28d5df33f27
Support pytest 6.x

pytest has removed support for pytest.Class(..parent)
and we need to use from_parent.

Also works around new issue for 6.1.0

References: https://github.com/pytest-dev/pytest/issues/7807

Change-Id: Ia5fed9b22e76c99f71489283acee207f996f52a4
alembic/__init__.py
alembic/testing/plugin/pytestplugin.py
tox.ini