Skip to content

Commit

Permalink
fix: test nocover pragma for conditional type definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
akornatskyy committed Jul 28, 2023
1 parent e5bfb24 commit 9eb6557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wheezy/template/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import typing
from abc import abstractmethod

if sys.version_info <= (3, 9, 0):
if sys.version_info <= (3, 9, 0): # pragma: nocover
Token = typing.Tuple[int, str, str]
else:
else: # pragma: nocover
Token = tuple[int, str, str] # type: ignore[misc]


Expand Down

0 comments on commit 9eb6557

Please sign in to comment.