Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
realshouzy committed May 13, 2024
1 parent b736fe6 commit 6513aee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion tests/database/msaccess_test.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
from typing import TYPE_CHECKING, Iterator

import msaccessdb
import pyodbc # type: ignore[import-not-found]
import pytest

from nrw.database.msaccess import DatabaseConnector

try:
import pyodbc # type: ignore[import-not-found]
except ImportError:
pytest.skip()

if TYPE_CHECKING:
from pathlib import Path

Expand Down
1 change: 0 additions & 1 deletion tests/database/mysql_test.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ def test_database_connector() -> None:

if __name__ == "__main__":
raise SystemExit(pytest.main())
raise SystemExit(pytest.main())

0 comments on commit 6513aee

Please sign in to comment.