[PyOV] Mark replacement of topk in test (#15095)
This commit is contained in:
committed by
GitHub
parent
8eed22b477
commit
749467f0c3
@@ -26,6 +26,7 @@ def xfail_test(reason="Mark the test as expected to fail", strict=True):
|
||||
skip_segfault = pytest.mark.skip(reason="Segmentation fault error")
|
||||
skip_devtest = pytest.mark.skip(reason="Test might depend on machine, should be run by developers"
|
||||
"or advanced users for debug/testing purposes.")
|
||||
skip_need_mock_op = pytest.mark.skip(reason="Test need to be rewritten with mock operation. Issue #101215")
|
||||
xfail_accuracy = xfail_test(reason="Accuracy")
|
||||
xfail_issue_69444 = xfail_test(reason="ONNX Resize - AssertionError: Mismatched elements.")
|
||||
skip_issue_67415 = pytest.mark.skip(reason="RuntimeError: Unsupported data type for when filling blob!")
|
||||
|
||||
@@ -15,6 +15,7 @@ from openvino.runtime import Core, AsyncInferQueue, Tensor, ProfilingInfo, Model
|
||||
from openvino.runtime import Type, PartialShape, Shape, Layout
|
||||
from openvino.preprocess import PrePostProcessor
|
||||
|
||||
from tests import skip_need_mock_op
|
||||
from tests.conftest import model_path
|
||||
from tests.test_utils.test_utils import generate_image, get_relu_model
|
||||
|
||||
@@ -561,6 +562,7 @@ def test_infer_queue_fail_on_py_model(device):
|
||||
assert "unsupported operand type(s) for +" in str(e.value)
|
||||
|
||||
|
||||
@skip_need_mock_op
|
||||
@pytest.mark.parametrize("with_callback", [False, True])
|
||||
def test_infer_queue_fail_in_inference(device, with_callback):
|
||||
jobs = 6
|
||||
|
||||
Reference in New Issue
Block a user