1717from message_ix import Scenario
1818from message_ix .testing import GHA , SCENARIO , make_dantzig , make_westeros
1919
20+ pytestmark = pytest .mark .ixmp4_209
21+
2022
2123@pytest .fixture
2224def dantzig_message_scenario (
@@ -393,7 +395,7 @@ def test_add_cat_unique(message_test_mp: ixmp.Platform) -> None:
393395 assert [1963 ] == scen2 .cat ("year" , "firstmodelyear" )
394396
395397
396- def test_years_active (test_mp : ixmp .Platform ) -> None :
398+ def test_years_active0 (test_mp : ixmp .Platform ) -> None :
397399 test_mp .add_unit ("year" )
398400 scen = Scenario (test_mp , ** SCENARIO ["dantzig" ], version = "new" )
399401 scen .add_set ("node" , "foo" )
@@ -439,7 +441,7 @@ def test_years_active(test_mp: ixmp.Platform) -> None:
439441 npt .assert_array_equal (result , years [1 :- 1 ])
440442
441443
442- def test_years_active_extend (message_test_mp : ixmp .Platform ) -> None :
444+ def test_years_active1 (message_test_mp : ixmp .Platform ) -> None :
443445 scen = Scenario (message_test_mp , ** SCENARIO ["dantzig multi-year" ])
444446
445447 # Existing time horizon
@@ -464,7 +466,7 @@ def test_years_active_extend(message_test_mp: ixmp.Platform) -> None:
464466 npt .assert_array_equal (result , years [1 :- 1 ])
465467
466468
467- def test_years_active_extended2 (test_mp : ixmp .Platform ) -> None :
469+ def test_years_active2 (test_mp : ixmp .Platform ) -> None :
468470 test_mp .add_unit ("year" )
469471 scen = Scenario (test_mp , ** SCENARIO ["dantzig" ], version = "new" )
470472 scen .add_set ("node" , "foo" )
@@ -511,7 +513,7 @@ def test_years_active_extended2(test_mp: ixmp.Platform) -> None:
511513 npt .assert_array_equal (result , years [- 2 ])
512514
513515
514- def test_years_active_extend3 (test_mp : ixmp .Platform ) -> None :
516+ def test_years_active3 (test_mp : ixmp .Platform ) -> None :
515517 test_mp .add_unit ("year" )
516518 scen = Scenario (test_mp , ** SCENARIO ["dantzig" ], version = "new" )
517519 scen .add_set ("node" , "foo" )
0 commit comments