Browse Source

fix assert result

feature/build-system-rewrite
chenfei 4 years ago
parent
commit
833a99abbe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/st/control/inner/test_break_continue.py

+ 1
- 1
tests/st/control/inner/test_break_continue.py View File

@@ -285,7 +285,7 @@ def test_if_after_for_in_for_break():
graph_backward_res = net(x)

assert graph_forward_res == Tensor(106, mstype.int32)
assert graph_backward_res == (Tensor(10, mstype.int32),)
assert graph_backward_res == (Tensor(16, mstype.int32),)


class WhileAfterWhileInWhileBreakForwardNet(nn.Cell):


Loading…
Cancel
Save