Skip to content

Commit

Permalink
Add pragma: no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Jan 10, 2025
1 parent 77d8502 commit b5be389
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tomli/_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
)

MYPY = False
if MYPY:
if MYPY: # pragma: no cover
from collections.abc import Iterable
from typing import IO, Any, Final

Expand Down
2 changes: 1 addition & 1 deletion src/tomli/_re.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import re

MYPY = False
if MYPY:
if MYPY: # pragma: no cover
from typing import Any, Final

from ._types import ParseFloat
Expand Down

0 comments on commit b5be389

Please sign in to comment.