!8120 fix CI randomly fails

Merge pull request !8120 from yihuaijie/master
This commit is contained in:
mindspore-ci-bot 2020-11-02 20:08:33 +08:00 committed by Gitee
commit e99a8bd784
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def test_check_is_int5():
Validator.check_is_int(False)
def test_check_positive_int1():
a = np.random.randint(0, 100)
a = np.random.randint(1, 100)
assert Validator.check_positive_int(a) == a
def test_check_positive_int2():