general: update mypy config, seems that logs of type: ignore aren't necessary anymore
This commit is contained in:
parent
8fc4951c57
commit
fe2c99f037
52 changed files with 142 additions and 105 deletions
|
@ -22,7 +22,7 @@ def test_sqlite_connect_immutable(tmp_path: Path) -> None:
|
|||
with sqlite3.connect(db) as conn:
|
||||
conn.execute('CREATE TABLE testtable (col)')
|
||||
|
||||
import pytest # type: ignore
|
||||
import pytest
|
||||
with pytest.raises(sqlite3.OperationalError, match='readonly database'):
|
||||
with sqlite_connect_immutable(db) as conn:
|
||||
conn.execute('DROP TABLE testtable')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue