Skip to content

Commit 0332303

Browse files
committed
fixes
1 parent 2a3e66b commit 0332303

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/engine_tests/test_engine.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33

44
import pytest
55
from pydantic import BaseModel
6-
from pytest_codspeed import BenchmarkFixture # type: ignore[import-untyped]
6+
from pytest_codspeed import ( # type: ignore[import-untyped,unused-ignore]
7+
BenchmarkFixture,
8+
)
79

810
from flag_engine.context.mappers import map_environment_identity_to_context
911
from flag_engine.engine import get_identity_feature_states
@@ -88,7 +90,7 @@ def test_engine(
8890

8991

9092
@pytest.mark.benchmark
91-
def test_engine_benchmark(benchmark: BenchmarkFixture) -> None: # type: ignore[no-any-unimported]
93+
def test_engine_benchmark(benchmark: BenchmarkFixture) -> None: # type: ignore[no-any-unimported,unused-ignore]
9294
contexts = []
9395
for environment_model, identity_model, _ in TEST_CASES:
9496
contexts.append(
@@ -99,7 +101,7 @@ def test_engine_benchmark(benchmark: BenchmarkFixture) -> None: # type: ignore[
99101
)
100102
)
101103

102-
@benchmark # type: ignore[misc]
104+
@benchmark # type: ignore[misc,unused-ignore]
103105
def __() -> None:
104106
for context in contexts:
105107
get_evaluation_result(context)

0 commit comments

Comments
 (0)