MCPcopy Create free account
hub / github.com/numpy/numpy / test_matrix_empty

Method test_matrix_empty

numpy/linalg/tests/test_linalg.py:1410–1411  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1408 array = np.array
1409
1410 def test_matrix_empty(self):
1411 assert_equal(norm(self.array([[]], dtype=self.dt)), 0.0)
1412
1413 def test_matrix_return_type(self):
1414 a = self.array([[1, 0, 1], [0, 1, 1]])

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
normFunction · 0.90

Tested by

no test coverage detected