Skip to content

Commit

Permalink
Make some flaky marks cross-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Dec 12, 2023
1 parent a4cc92d commit 31a7513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions message_ix/tests/test_feature_bound_activity_shares.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import platform

import numpy as np
import pandas as pd
Expand All @@ -11,7 +10,7 @@
FLAKY = pytest.mark.flaky(
reruns=5,
rerun_delay=2,
condition="GITHUB_ACTIONS" in os.environ and platform.system() == "Darwin",
condition="GITHUB_ACTIONS" in os.environ,
reason="Flaky; see iiasa/message_ix#731",
)

Expand Down
3 changes: 1 addition & 2 deletions message_ix/tests/test_feature_price_emission.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import platform

import numpy.testing as npt
import pytest
Expand All @@ -9,7 +8,7 @@
FLAKY = pytest.mark.flaky(
reruns=5,
rerun_delay=2,
condition="GITHUB_ACTIONS" in os.environ and platform.system() == "Darwin",
condition="GITHUB_ACTIONS" in os.environ,
reason="Flaky; see iiasa/message_ix#731",
)

Expand Down

0 comments on commit 31a7513

Please sign in to comment.