Skip to content

Commit 3986245

Browse files
committed
Temporarily Xfail two .model.transport tests
1 parent 508a6fb commit 3986245

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

message_ix_models/model/transport/testing.py

+6
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@
5050
"gh-288": pytest.mark.xfail(
5151
reason="Temporary, for https://github.com/iiasa/message-ix-models/pull/288",
5252
),
53+
"gh-337": pytest.mark.xfail(
54+
reason="Temporary, for https://github.com/iiasa/message-ix-models/pull/337."
55+
" These tests fail as a result of "
56+
"https://github.com/iiasa/message_ix/pull/924 and require updates to "
57+
"constraint parameter values."
58+
),
5359
},
5460
testing.MARK,
5561
)

message_ix_models/tests/model/transport/test_build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def test_make_spec(regions_arg, regions_exp, years):
105105
param("R11", "B", False, "IKARUS", False, marks=[mark.slow, MARK[1]]),
106106
param("R11", "B", False, "IKARUS", True, marks=[mark.slow, MARK[1]]),
107107
# R12, B
108-
("R12", "B", False, "IKARUS", True),
108+
param("R12", "B", False, "IKARUS", True, marks=MARK["gh-337"]),
109109
# R14, A
110110
param(
111111
"R14",

message_ix_models/tests/model/transport/test_report.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_configure_legacy():
5959
"regions, years",
6060
(
6161
param("R11", "A", marks=make_mark[2](ValueError)),
62-
("R12", "B"),
62+
param("R12", "B", marks=MARK["gh-337"]),
6363
param("R14", "A", marks=MARK[9]),
6464
param("ISR", "A", marks=MARK[3]),
6565
),

0 commit comments

Comments
 (0)