@@ -193,7 +193,7 @@ def test_benchmarking_mode_configured_with_option(
193193 )
194194
195195 assert result .ret == 0
196- assert any ("6 tests collected" in line for line in result .outlines )
196+ assert any ("3 tests collected" in line for line in result .outlines )
197197 # Check that the test names include the benchmark gas values
198198 assert any ("benchmark-gas-value_10M" in line for line in result .outlines )
199199 assert any ("benchmark-gas-value_20M" in line for line in result .outlines )
@@ -379,8 +379,8 @@ def test_benchmarking_mode_not_configured_without_option(
379379 )
380380
381381 assert result .ret == 0
382- # Should generate normal test variants (2 ) without parametrization
383- assert any ("2 tests collected" in line for line in result .outlines )
382+ # Should generate normal test variants (1 ) without parametrization
383+ assert any ("1 test collected" in line for line in result .outlines )
384384 assert not any (
385385 "benchmark-gas-value_10M" in line for line in result .outlines
386386 )
@@ -523,7 +523,7 @@ def test_repricing_marker_with_kwargs_filters_parametrized_tests(
523523 ]
524524
525525 # test_parametrized_with_repricing_kwargs should only have ADD variants
526- # (multiple test types like blockchain_test and blockchain_test_engine )
526+ # (the blockchain_test fixture type )
527527 kwargs_test_lines = [
528528 line
529529 for line in collected_lines
@@ -863,29 +863,29 @@ def test_fixed_opcode_count_invalid_regex_raises_error() -> None:
863863@pytest .mark .parametrize (
864864 "config_counts,expected_tests,expected_ids" ,
865865 [
866- pytest .param ([1 ], 2 , ["opcount_1" ], id = "single_int" ),
866+ pytest .param ([1 ], 1 , ["opcount_1" ], id = "single_int" ),
867867 pytest .param (
868868 [1 , 2 , 3 ],
869- 6 ,
869+ 3 ,
870870 ["opcount_1" , "opcount_2" , "opcount_3" ],
871871 id = "multiple_ints" ,
872872 ),
873- pytest .param ([0.5 ], 2 , ["opcount_0.5" ], id = "single_float" ),
873+ pytest .param ([0.5 ], 1 , ["opcount_0.5" ], id = "single_float" ),
874874 pytest .param (
875875 [0.5 , 1 , 2 ],
876- 6 ,
876+ 3 ,
877877 ["opcount_0.5" , "opcount_1" , "opcount_2" ],
878878 id = "multiple_floats" ,
879879 ),
880880 pytest .param (
881881 [1 , 0.5 , 2 ],
882- 6 ,
882+ 3 ,
883883 ["opcount_1" , "opcount_0.5" , "opcount_2" ],
884884 id = "mixed_int_float" ,
885885 ),
886886 pytest .param (
887887 [1 , 2 , 3 , 5 ],
888- 8 ,
888+ 4 ,
889889 ["opcount_1" , "opcount_2" , "opcount_3" , "opcount_5" ],
890890 id = "four_ints" ,
891891 ),
@@ -943,7 +943,7 @@ def test_fixed_opcode_count_config_file_parametrized(
943943 )
944944
945945 assert result .ret == 0
946- # Check expected number of tests (2 test types * len(counts))
946+ # Check expected number of tests (1 test type * len(counts))
947947 assert any (f"{ expected_tests } passed" in line for line in result .outlines )
948948 # Check opcode count IDs are present
949949 for expected_id in expected_ids :
0 commit comments