Skip to content

Commit c850f20

Browse files
committed
refactor: macOS is MACOS, not OSX
1 parent a1b2c1a commit c850f20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coverage/env.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# Operating systems.
2323
WINDOWS = sys.platform == "win32"
2424
LINUX = sys.platform.startswith("linux")
25-
OSX = sys.platform == "darwin"
25+
MACOS = sys.platform == "darwin"
2626

2727
# Python implementations.
2828
CPYTHON = (platform.python_implementation() == "CPython")

tests/test_arcs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ def test_lambda_in_dict(self) -> None:
19051905
# I don't understand why it failed, I don't understand why it passed,
19061906
# so just skip the whole thing.
19071907
skip_eventlet_670 = pytest.mark.skipif(
1908-
env.PYVERSION[:2] == (3, 9) and env.CPYTHON and env.OSX,
1908+
env.PYVERSION[:2] == (3, 9) and env.CPYTHON and env.MACOS,
19091909
reason="Avoid an eventlet bug on Mac 3.9: eventlet#670",
19101910
# https://github.com/eventlet/eventlet/issues/670
19111911
)

0 commit comments

Comments
 (0)