Skip to content

Commit 488fd6e

Browse files
committed
Fix import bug in quiz.py
1 parent a566f14 commit 488fd6e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jmu_pytest_utils/quiz.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from typing import Any, Callable
55

66
import pytest
7-
from coverage import get_caller
7+
from jmu_pytest_utils.coverage import get_caller
88

99

1010
def check_docstring(module: ModuleType, min_len: int = 15) -> None:
@@ -51,7 +51,9 @@ def _type_name(value: Any) -> str:
5151
return "a " + name
5252

5353

54-
def check_return_types(*calls: tuple[type, Callable[..., Any], *tuple[Any, ...]]) -> None:
54+
def check_return_types(
55+
*calls: tuple[type, Callable[..., Any], *tuple[Any, ...]],
56+
) -> None:
5557
"""Verify the return type of one or more function calls.
5658
5759
If the calling test function does not already have a docstring, the

0 commit comments

Comments
 (0)