Skip to content

Commit d41f01d

Browse files
committed
fix(tests): keep aggregate torch op tests active
1 parent 2a5d6af commit d41f01d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ def skip_op_without_platform_impl(request):
119119

120120
op_cls = _op_class_from_module(request.node.module)
121121

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"):
122+
if op_cls is None or not hasattr(op_cls, "active_implementation_indices"):
126123
return
127124

128125
if not any(op_cls.active_implementation_indices(d) for d in device_selectors):

0 commit comments

Comments
 (0)