Remove segfault marks form test_unary_op_scalar and test_range tests (#2692)
authorMichał Karzyński <4430709+postrational@users.noreply.github.com>
Fri, 16 Oct 2020 09:34:26 +0000 (11:34 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Oct 2020 09:34:26 +0000 (11:34 +0200)
Co-authored-by: Ewa21 <ewa.tusien@intel.com>
ngraph/python/tests/test_ngraph/test_ops_unary.py
ngraph/python/tests/test_ngraph/test_sequence_processing.py

index fac5005..951bb7d 100644 (file)
@@ -59,7 +59,6 @@ def test_unary_op_array(ng_api_fn, numpy_fn, range_start, range_end):
     assert np.allclose(result, expected, rtol=0.001)
 
 
-@pytest.mark.skip(reason="Segmentation fault")
 @pytest.mark.parametrize(
     "ng_api_fn, numpy_fn, input_data",
     [
index 19ba7b9..4a7a698 100644 (file)
 # limitations under the License.
 # ******************************************************************************
 import numpy as np
-import pytest
 
 import ngraph as ng
 from tests.runtime import get_runtime
 from tests.test_ngraph.util import run_op_node
-from tests import xfail_issue_36478
+from tests import xfail_issue_36478, xfail_issue_35926
 
 
 def test_onehot():
@@ -47,7 +46,7 @@ def test_one_hot():
     assert np.allclose(result, excepted)
 
 
-@pytest.mark.skip(reason="Segmentation fault")
+@xfail_issue_35926
 def test_range():
     start = 5
     stop = 35