(self)
| 2005 | check_round(np.array([12.5 + 15.5j]), [10 + 20j], -1) |
| 2006 | |
| 2007 | def test_squeeze(self): |
| 2008 | a = np.array([[[1], [2], [3]]]) |
| 2009 | assert_equal(a.squeeze(), [1, 2, 3]) |
| 2010 | assert_equal(a.squeeze(axis=(0,)), [[1], [2], [3]]) |
| 2011 | assert_raises(ValueError, a.squeeze, axis=(1,)) |
| 2012 | assert_equal(a.squeeze(axis=(2,)), [[1, 2, 3]]) |
| 2013 | |
| 2014 | def test_transpose(self): |
| 2015 | a = np.array([[1, 2], [3, 4]]) |
nothing calls this directly
no test coverage detected