This is an automated email from the ASF dual-hosted git repository. taolv pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push: new d187060 Fix for test always returning true (#13911) d187060 is described below commit d187060101fde35d3a76a127e377746d3f4bec80 Author: Przemyslaw Tredak <ptre...@gmail.com> AuthorDate: Wed Jan 16 21:35:55 2019 -0800 Fix for test always returning true (#13911) --- tests/python/unittest/test_random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/unittest/test_random.py b/tests/python/unittest/test_random.py index 405602f..e5f0a45 100644 --- a/tests/python/unittest/test_random.py +++ b/tests/python/unittest/test_random.py @@ -882,7 +882,7 @@ def test_randint_generator(): @with_seed() def test_randint_without_dtype(): a = mx.nd.random.randint(low=50000000, high=50000010, ctx=mx.context.current_context()) - assert(a.dtype, 'int32') + assert a.dtype == np.int32 if __name__ == '__main__': import nose