Skip to content

Commit 5d969eb

Browse files
committed
Remove old entries from .transport.testing.MARK
1 parent c57fcd5 commit 5d969eb

File tree

3 files changed

+3
-17
lines changed

3 files changed

+3
-17
lines changed

message_ix_models/model/transport/testing.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,25 +41,12 @@
4141
),
4242
3: pytest.mark.xfail(raises=ValueError, reason="Missing ISR/mer-to-ppp.csv"),
4343
4: pytest.mark.xfail(reason="Currently unsupported"),
44-
# Tests that fail with data that cannot be migrated from message_data
4544
7: pytest.mark.xfail(
4645
condition=GHA and platform.system() == "Darwin" and not HAS_GRAPHVIZ,
4746
reason="Graphviz missing on macos-13 GitHub Actions runners",
4847
),
4948
9: pytest.mark.xfail(reason="Missing R14 input data/config"),
5049
10: pytest.mark.usefixtures("iea_eweb_test_data", "ssp_user_data"),
51-
"gh-288": pytest.mark.xfail(
52-
reason="Temporary, for https://github.com/iiasa/message-ix-models/pull/288",
53-
),
54-
"gh-337": pytest.mark.xfail(
55-
reason="Temporary, for https://github.com/iiasa/message-ix-models/pull/337."
56-
" These tests fail as a result of "
57-
"https://github.com/iiasa/message_ix/pull/924 and require updates to "
58-
"constraint parameter values."
59-
),
60-
"gh-339": pytest.mark.xfail(
61-
reason="Temporary, for https://github.com/iiasa/message-ix-models/pull/339."
62-
),
6350
},
6451
testing.MARK,
6552
)

message_ix_models/tests/model/transport/test_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def N_node(request) -> int:
298298
param("R11", "B", False, "IKARUS", False, marks=[mark.slow, MARK[1]]),
299299
param("R11", "B", False, "IKARUS", True, marks=[mark.slow, MARK[1]]),
300300
# R12, B
301-
param("R12", "B", False, "IKARUS", True, marks=MARK["gh-337"]),
301+
("R12", "B", False, "IKARUS", True),
302302
# R14, A
303303
param(
304304
"R14",

message_ix_models/tests/model/transport/test_report.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def test_debug(
116116
"regions, years",
117117
(
118118
param("R11", "A", marks=make_mark[2](ValueError)),
119-
param("R12", "B", marks=MARK["gh-337"]),
119+
("R12", "B"),
120120
param("R14", "A", marks=MARK[9]),
121121
param("ISR", "A", marks=MARK[3]),
122122
),
@@ -167,7 +167,7 @@ def quiet_genno(caplog):
167167
@mark.parametrize(
168168
"build",
169169
(
170-
pytest.param(True, marks=MARK["gh-339"]), # Run .transport.build.main()
170+
True, # Run .transport.build.main()
171171
False, # Use data from an Excel export
172172
),
173173
)
@@ -201,7 +201,6 @@ def test_simulated_solution(request, test_context, build, regions="R12", years="
201201

202202

203203
@build.get_computer.minimum_version
204-
@MARK["gh-339"]
205204
@mark.usefixtures("quiet_genno")
206205
@pytest.mark.parametrize(
207206
"plot_name",

0 commit comments

Comments
 (0)