Skip to content

Commit

Permalink
not cover importerror
Browse files Browse the repository at this point in the history
  • Loading branch information
karpetrosyan committed Oct 25, 2023
1 parent 7fcdcd3 commit bd7943e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hishel/_async/_storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

try:
import anysqlite
except ImportError:
anysqlite = None
except ImportError: # pragma: no cover
anysqlite = None # type: ignore

from httpcore import Request, Response

Expand Down
4 changes: 2 additions & 2 deletions hishel/_sync/_storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

try:
import sqlite3
except ImportError:
sqlite3 = None
except ImportError: # pragma: no cover
sqlite3 = None # type: ignore

from httpcore import Request, Response

Expand Down

0 comments on commit bd7943e

Please sign in to comment.