Browse Source

fix CI random fails

tags/v1.1.0
Yi Huaijie 5 years ago
parent
commit
da29f232c6
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