Browse Source

!8120 fix CI randomly fails

Merge pull request !8120 from yihuaijie/master
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
e99a8bd784
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/python/nn/test_checkparameter.py

+ 1
- 1
tests/ut/python/nn/test_checkparameter.py 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():


Loading…
Cancel
Save