Skip to content

Commit

Permalink
Fix for test always returning true (apache#13911)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrendx authored and stephenrawls committed Feb 16, 2019
1 parent 7a540cc commit ef07977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef07977

Please sign in to comment.