!32288 Test control flow

Merge pull request !32288 from chenfei_mindspore/debug-shenzhenwan
This commit is contained in:
i-robot 2022-04-01 08:19:44 +00:00 committed by Gitee
commit 51e24179ed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ def test_if_after_if_in_for_02():
@pytest.mark.platform_x86_ascend_training
@pytest.mark.env_onecard
def test_if_after_if_in_for_03():
context.set_context(save_graphs=True, save_graphs_path="./test_112_graph_ir")
x = Tensor(2, mstype.int32)
expect1 = Tensor(11, mstype.int32)
expect2 = (Tensor(1, mstype.int32),)