]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Rename teardown() method to avoid PytestRemovedIn8Warning
authorGord Thompson <gord@gordthompson.com>
Wed, 25 Jan 2023 18:22:22 +0000 (11:22 -0700)
committerGord Thompson <gord@gordthompson.com>
Wed, 25 Jan 2023 18:22:22 +0000 (11:22 -0700)
commit08266a49db1ce69224e62fa89f34f03a2f0f9529
tree5088b7b3ce653858651901ddaa4e8939a7a401d3
parentf7f325caf87ae115c8fef2e3da365c0bcb40b605
Rename teardown() method to avoid PytestRemovedIn8Warning

pytest 7.2.1 issuing PytestRemovedIn8Warning

[method name] is using nose-specific method: `teardown(self)`
To remove this warning, rename it to `teardown_method(self)`

Change-Id: I0674aaec2fe174ec16bedba7d524bc20fce6d219
alembic/testing/suite/test_environment.py