Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix for test always returning true #13911

Merged
merged 1 commit into from
Jan 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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