Skip to content

Commit

Permalink
Use 'in' check to produce a bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 27, 2024
1 parent 18a44ba commit ca6026b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test_functools.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

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

0 comments on commit ca6026b

Please sign in to comment.