File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 33
44import pytest
55from 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
810from flag_engine .context .mappers import map_environment_identity_to_context
911from 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 )
You can’t perform that action at this time.
0 commit comments