Skip to content
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

[py] Only skip WebKit tests on Windows #15470

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

cgoldberg
Copy link
Contributor

@cgoldberg cgoldberg commented Mar 21, 2025

User description

Motivation and Context

This PR removes the restriction for running the internal Python tests for WebKit on certain platforms. Previously, tests would be skipped on any platform except Linux. However, WebKit is available on all xBSD systems as well as MacOS, so there is no reason to restrict tests from running on those. This change makes it so the WebKit tests are allowed to run on any platform besides Windows.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

PR Type

Bug fix, Tests


Description

  • Updated WebKit test skipping logic to exclude only Windows.

  • Removed unnecessary restriction for WebKit tests on non-Linux platforms.

  • Ensured compatibility for WebKit tests on xBSD and MacOS.


Changes walkthrough 📝

Relevant files
Tests
conftest.py
Adjust WebKit test skipping logic                                               

py/conftest.py

  • Modified WebKit test skipping condition to exclude only Windows.
  • Removed restriction for WebKit tests on non-Linux platforms.
  • +2/-2     

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Copy link
    Contributor

    PR Reviewer Guide 🔍

    Here are some key observations to aid the review process:

    ⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ No major issues detected

    Copy link
    Contributor

    qodo-merge-pro bot commented Mar 21, 2025

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    1 participant