Skip to content

Fix pytest.skip for MacOS in test_tutorials.py #2547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

cdeil
Copy link
Contributor

@cdeil cdeil commented Feb 2, 2025

Follow-up to #2542 to address #2534

@einarf - I changed to check sys.platform since it's consistently used in the Arcade package and tests.

You were using platform.system() which is recommended here
https://stackoverflow.com/questions/1854/how-to-identify-which-os-python-is-running-on
but it wasn't working on my Mac because it requires "Darwin" with capital "D" and you had used the lower-case "darwin" that sys.platform uses.

This should be OK now.

@einarf einarf merged commit 39501b8 into pythonarcade:development Feb 2, 2025
8 checks passed
pushfoo pushed a commit to pushfoo/arcade that referenced this pull request Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants