Skip to content

Commit d8b52a2

Browse files
committed
fixes #23
1 parent c1acab7 commit d8b52a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/py_pglite/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def pytest_configure(config: pytest.Config) -> None:
6767
def _should_disable_django_plugin(config: pytest.Config) -> bool:
6868
"""Determine if Django plugin should be disabled for better isolation."""
6969
# Check if we're running pure SQLAlchemy tests
70-
test_paths = getattr(config.option, "file_or_dir", [])
70+
test_paths = getattr(config.option, "file_or_dir", []) or []
7171
if any(
7272
"sqlalchemy" in str(path) and "django" not in str(path) for path in test_paths
7373
):

0 commit comments

Comments
 (0)