From af1765680ac41717246ed3b4135c08cd763336ba Mon Sep 17 00:00:00 2001 From: Guilherme Leobas Date: Wed, 26 Aug 2020 14:27:14 -0300 Subject: [PATCH] Revert "Update test_np_functions.py" This reverts commit 742860f86b006f983eb33cc1bbdc48b985633a23. --- numba/tests/test_np_functions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/numba/tests/test_np_functions.py b/numba/tests/test_np_functions.py index 0c302b77da0..a197fff0a97 100644 --- a/numba/tests/test_np_functions.py +++ b/numba/tests/test_np_functions.py @@ -3215,8 +3215,6 @@ 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