(self)
| 461 | |
| 462 | class TestIsNumpyNdarray(unittest.TestCase): |
| 463 | def test_ndarray(self): |
| 464 | self.assertTrue(is_numpy_ndarray(np.array([1, 2, 3]))) |
| 465 | def test_ndarray_tolist(self): |
| 466 | self.assertFalse(is_numpy_ndarray(np.array([1, 2, 3]).tolist())) |
| 467 | def test_list(self): |
nothing calls this directly
no test coverage detected