(self)
| 1624 | class TestNorm_NonSystematic: |
| 1625 | |
| 1626 | def test_longdouble_norm(self): |
| 1627 | # Non-regression test: p-norm of longdouble would previously raise |
| 1628 | # UnboundLocalError. |
| 1629 | x = np.arange(10, dtype=np.longdouble) |
| 1630 | old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2) |
| 1631 | |
| 1632 | def test_intmin(self): |
| 1633 | # Non-regression test: p-norm of signed integer would previously do |