Skip to content

Commit

Permalink
Following move to Github actions, port the expected failing test also.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 28, 2020
1 parent 041ba88 commit 2cdd9f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import copy
import random
import functools
import platform
from unittest import mock

import pytest
Expand All @@ -14,8 +15,8 @@

class TestThrottler:
@pytest.mark.xfail(
os.environ.get('AGENT_OS', '') in ('Windows_NT', 'Darwin'),
reason="Performance is heavily throttled on Azure Win/Mac runs",
os.environ.get('GITHUB_ACTIONS') and platform.system() == 'Darwin',
reason="Performance is heavily throttled on Github Actions Mac runs",
)
def test_function_throttled(self):
"""
Expand Down

0 comments on commit 2cdd9f1

Please sign in to comment.