Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4033ca3

Browse files
committed
fix import
1 parent61719d2 commit4033ca3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎_unittests/ut_graph_api/test_graph_builder.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
importunittest
44
importnumpyasnp
55
importonnx
6-
fromonnx_array_api.ext_test_caseimportExtTestCase
6+
fromonnx_array_api.ext_test_caseimportExtTestCase,skipif_ci_apple
77
fromonnx_array_api.graph_api.graph_builderimportGraphBuilder,OptimizationOptions
88
fromonnx_array_api.referenceimport (
99
from_array_extended,
@@ -107,7 +107,7 @@ def test_simple_big(self):
107107
got=ref.run(None,feeds)
108108
self.assertEqualArray(expected,got[0])
109109

110-
@skip_ci_apple("libomp is missing")
110+
@skipif_ci_apple("libomp is missing")
111111
deftest_constant_folding(self):
112112
withcontextlib.redirect_stdout(io.StringIO()):
113113
g=GraphBuilder(verbose=10)
@@ -134,7 +134,7 @@ def test_constant_folding(self):
134134
got=ref.run(None,feeds)
135135
self.assertEqualArray(expected,got[0])
136136

137-
@skip_ci_apple("libomp is missing")
137+
@skipif_ci_apple("libomp is missing")
138138
deftest_constant_folding2(self):
139139
g=GraphBuilder(
140140
optimization_options=OptimizationOptions(constant_folding=True)
@@ -272,7 +272,7 @@ def test_remove_unused_nodes_simple(self):
272272
got=ref.run(None,feeds)
273273
self.assertEqualArray(expected,got[0])
274274

275-
@skip_ci_apple("libomp is missing")
275+
@skipif_ci_apple("libomp is missing")
276276
deftest_constant_array(self):
277277
withcontextlib.redirect_stdout(io.StringIO()):
278278
g=GraphBuilder(verbose=10)
@@ -293,7 +293,7 @@ def test_constant_array(self):
293293
got=ref.run(None,feeds)
294294
self.assertEqualArray(expected,got[0])
295295

296-
@skip_ci_apple("libomp is missing")
296+
@skipif_ci_apple("libomp is missing")
297297
deftest_constant_array_2(self):
298298
withcontextlib.redirect_stdout(io.StringIO()):
299299
g=GraphBuilder(verbose=10)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp