Skip to content

Commit 2375400

Browse files
committed
🏷️ fix types
1 parent 6a47325 commit 2375400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/func/sqlite3_to_mysql_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ def test_no_sqlite_file_raises_exception(self, quiet: bool) -> None:
3939
@pytest.mark.parametrize("quiet", [False, True])
4040
def test_invalid_sqlite_file_raises_exception(self, faker: Faker, quiet: bool) -> None:
4141
with pytest.raises((FileNotFoundError, IOError)) as excinfo:
42-
SQLite3toMySQL(sqlite_file=faker.file_path(depth=1, extension=".sqlite3"), quiet=quiet) # type: ignore
42+
SQLite3toMySQL(sqlite_file=faker.file_path(depth=1, extension=".sqlite3"), quiet=quiet) # type: ignore[call-arg]
4343
assert "SQLite file does not exist" in str(excinfo.value)
4444

4545
@pytest.mark.init
4646
@pytest.mark.parametrize("quiet", [False, True])
4747
def test_missing_mysql_user_raises_exception(self, sqlite_database: str, quiet: bool) -> None:
4848
with pytest.raises(ValueError) as excinfo:
49-
SQLite3toMySQL(sqlite_file=sqlite_database, quiet=quiet) # type: ignore
49+
SQLite3toMySQL(sqlite_file=sqlite_database, quiet=quiet) # type: ignore[call-arg]
5050
assert "Please provide a MySQL user" in str(excinfo.value)
5151

5252
@pytest.mark.init

0 commit comments

Comments
 (0)