Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
uriyyo committed Jan 6, 2022
1 parent e06f8de commit 3c6d58c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions starlette/background.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import sys
import typing

if sys.version_info >= (3, 10):
if sys.version_info >= (3, 10): # pragma: no cover
from typing import ParamSpec
else:
else: # pragma: no cover
from typing_extensions import ParamSpec

from starlette.concurrency import run_in_threadpool
Expand Down
4 changes: 2 additions & 2 deletions starlette/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

import anyio

if sys.version_info >= (3, 10):
if sys.version_info >= (3, 10): # pragma: no cover
from typing import ParamSpec
else:
else: # pragma: no cover
from typing_extensions import ParamSpec

try:
Expand Down

0 comments on commit 3c6d58c

Please sign in to comment.