(self)
| 1529 | class TestNorm_NonSystematic: |
| 1530 | |
| 1531 | def test_longdouble_norm(self): |
| 1532 | # Non-regression test: p-norm of longdouble would previously raise |
| 1533 | # UnboundLocalError. |
| 1534 | x = np.arange(10, dtype=np.longdouble) |
| 1535 | old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2) |
| 1536 | |
| 1537 | def test_intmin(self): |
| 1538 | # Non-regression test: p-norm of signed integer would previously do |