def test_collections_hashable(self): x = np.array([]) self.assertFalse(isinstance(x, collections.Hashable))