Skip to content

Commit

Permalink
Update test_np_functions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermeleobas committed Aug 26, 2020
1 parent b0a5548 commit 742860f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numba/tests/test_np_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3215,6 +3215,8 @@ def make_unicode_list():
def test_asfarray(self):
def inputs():
yield np.array([1, 2, 3]), None
yield np.array([1, 2, 3]), int # dtype will be ignored
yield np.array([1, 2, 3]), str # dtype will be ignored
yield np.array([2, 3], dtype=np.float32), np.float32
yield np.array([2, 3], dtype=np.int8), np.int8
yield np.array([2, 3], dtype=np.int8), np.complex64
Expand Down

0 comments on commit 742860f

Please sign in to comment.