diff --git a/tests/test_alembic_migrations.py b/tests/test_alembic_migrations.py index 39fb5599..b34db18b 100644 --- a/tests/test_alembic_migrations.py +++ b/tests/test_alembic_migrations.py @@ -1,4 +1,6 @@ """Test alembic migrations of spatial columns.""" +import platform + import pytest import sqlalchemy as sa # noqa (This import is only used in the migration scripts) from alembic import command @@ -268,6 +270,9 @@ class = StreamHandler def test_migration_revision( conn, metadata, alembic_config, alembic_env_path, test_script_path ): + if platform.python_implementation().lower() == 'pypy': + pytest.skip('skip SpatiaLite tests on PyPy', allow_module_level=True) + initial_rev = command.revision( alembic_config, "Initial state",