Skip to content

Commit

Permalink
Fix deprecated lazy_fixture imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca committed Aug 23, 2024
1 parent e039301 commit 8caa15c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frictionless/indexer/__spec__/test_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@

from frictionless import formats, platform
from frictionless.resources import TableResource
from pytest_lazyfixture import lazy_fixture

control = formats.sql.SqlControl(table="table")
fast_database_urls = [
pytest.lazy_fixtures("sqlite_url"),
pytest.lazy_fixtures("postgresql_url"),
lazy_fixture("sqlite_url"),
lazy_fixture("postgresql_url"),
]
database_urls = fast_database_urls + [
pytest.lazy_fixtures("mysql_url"),
lazy_fixture("mysql_url"),
]
if platform.type != "windows":
database_urls += [
pytest.lazy_fixtures("duckdb_url"),
lazy_fixture("duckdb_url"),
]
pytestmark = pytest.mark.skipif(
platform.type == "darwin" or platform.type == "windows",
Expand Down

0 comments on commit 8caa15c

Please sign in to comment.