Skip to content

Commit

Permalink
block pytest 8
Browse files Browse the repository at this point in the history
something has changed and teardown() is no longer called.
SQLAlchemy seems to also be pinned below pytest 8 (which we need to fix)
so this is likely related

Change-Id: I784b3abde67528c30af06a01b3a02d481a29276f
  • Loading branch information
zzzeek committed Mar 4, 2024
1 parent 287ee90 commit d90922d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def teardown_class(cls):
clear_staging_env()

def teardown(self):
breakpoint()

This comment has been minimized.

Copy link
@zzzeek

zzzeek Mar 4, 2024

Author Member

obviously a mistake

self.cfg.set_main_option("revision_environment", "false")

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SQLA_REPO = {env:SQLA_REPO:git+https://github.com/sqlalchemy/sqlalchemy.git}
[testenv]
cov_args=--cov=alembic --cov-report term --cov-report xml

deps=pytest>4.6
deps=pytest>4.6,8
pytest-xdist
sqla13: pytest<7
sqla13: {[tox]SQLA_REPO}@rel_1_3#egg=sqlalchemy
Expand Down

0 comments on commit d90922d

Please sign in to comment.