This is a bit tricky since the test will actually run, but be marked as skipped. The problem is we can't raise a pytest.skip.Exception during a test, or it'll show up as an exception in a virtual Qt method. Still this is better than nothing.