We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a5d6af commit d41f01dCopy full SHA for d41f01d
1 file changed
tests/conftest.py
@@ -119,10 +119,7 @@ def skip_op_without_platform_impl(request):
119
120
op_cls = _op_class_from_module(request.node.module)
121
122
- if op_cls is None:
123
- pytest.skip("operator wrapper is not available in this build")
124
-
125
- if not hasattr(op_cls, "active_implementation_indices"):
+ if op_cls is None or not hasattr(op_cls, "active_implementation_indices"):
126
return
127
128
if not any(op_cls.active_implementation_indices(d) for d in device_selectors):
0 commit comments