Skip to content

test suite breaks in pytest 8.1 #1435

Description

@zzzeek

teardown is not called

rm -fr scratch; PYTHONPATH=~/dev/sqlalchemy/lib/ pytest tests/test_command.py::HistoryTest

fails under pytest 8.1 only

FAILED tests/test_command.py::HistoryTest::test_history_num_plus_relative - AssertionError: 'environment included OK\nRev: dd711a17688e (head)\nParent: ab3d7d7d454d\nPath: /home/classic/dev/alembic/scratch/scripts/versions/dd711a17688e_revision_c.py\n\n  ...
FAILED tests/test_command.py::HistoryTest::test_history_num_range - AssertionError: 'environment included OK\nRev: ab3d7d7d454d\nParent: 642ae92838b4\nPath: /home/classic/dev/alembic/scratch/scripts/versions/ab3d7d7d454d_revision_b.py\n\n    Rev B...
FAILED tests/test_command.py::HistoryTest::test_history_num_to_head - AssertionError: 'environment included OK\nRev: dd711a17688e (head)\nParent: ab3d7d7d454d\nPath: /home/classic/dev/alembic/scratch/scripts/versions/dd711a17688e_revision_c.py\n\n  ...
FAILED tests/test_command.py::HistoryTest::test_history_relative_to_num - AssertionError: 'environment included OK\nRev: dd711a17688e (head)\nParent: ab3d7d7d454d\nPath: /home/classic/dev/alembic/scratch/scripts/versions/dd711a17688e_revision_c.py\n\n  ...
FAILED tests/test_command.py::HistoryTest::test_history_too_large_relative_to_num - AssertionError: 'environment included OK\nRev: dd711a17688e (head)\nParent: ab3d7d7d454d\nPath: /home/classic/dev/alembic/scratch/scripts/versions/dd711a17688e_revision_c.py\n\n  ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions