(self)
| 10 | |
| 11 | class TestMachAr: |
| 12 | def _run_machar_highprec(self): |
| 13 | # Instantiate MachAr instance with high enough precision to cause |
| 14 | # underflow |
| 15 | try: |
| 16 | hiprec = ntypes.float96 |
| 17 | MachAr(lambda v: array(v, hiprec)) |
| 18 | except AttributeError: |
| 19 | # Fixme, this needs to raise a 'skip' exception. |
| 20 | "Skipping test: no ntypes.float96 available on this platform." |
| 21 | |
| 22 | def test_underlow(self): |
| 23 | # Regression test for #759: |
no test coverage detected