Skip to content

Commit

Permalink
Failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
cbourjau committed Jul 26, 2024
1 parent 07a0e2f commit ea2347b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_value_propagation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import spox
import spox._future
import spox.opset.ai.onnx.ml.v3 as ml
import spox.opset.ai.onnx.v17 as op
import spox.opset.ai.onnx.v20 as op
from spox import Var, _type_system
from spox._graph import arguments, results
from spox._shape import Shape
Expand Down Expand Up @@ -207,3 +207,8 @@ def test_value_propagation_does_not_fail_on_unseen_opsets(value_prop_backend):
)

spox.inline(model)(X=op.const(["Test Test"], dtype=numpy.str_))


def test_strings():
x, y = op.const("foo"), op.const("bar")
op.string_concat(x, y)._value == "foobar"

0 comments on commit ea2347b

Please sign in to comment.