We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b6ca49 commit 2efe5edCopy full SHA for 2efe5ed
1 file changed
src/pytest_codspeed/instruments/valgrind.py
@@ -2,7 +2,6 @@
2
3
import os
4
import warnings
5
-from collections.abc import Awaitable
6
from contextlib import contextmanager
7
from typing import TYPE_CHECKING
8
@@ -12,6 +11,7 @@
12
11
from pytest_codspeed.utils import SUPPORTS_PERF_TRAMPOLINE
13
14
if TYPE_CHECKING:
+ from collections.abc import Awaitable
15
from typing import Any, Callable
16
17
from pytest import Session
@@ -112,7 +112,9 @@ async def __codspeed_root_frame__() -> T:
112
113
@contextmanager
114
def _measure_pedantic_context(
115
- self, pedantic_options: PedanticOptions[T], uri: str,
+ self,
116
+ pedantic_options: PedanticOptions[T],
117
+ uri: str,
118
) -> T:
119
if pedantic_options.rounds != 1 or pedantic_options.iterations != 1:
120
warnings.warn(
0 commit comments