Skip to content

Commit

Permalink
Fix pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-berchet committed Jun 2, 2022
1 parent 0c24162 commit 80f201f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_alembic_migrations.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 80f201f

Please sign in to comment.