(a)
| 666 | # ====================================================================== |
| 667 | |
| 668 | def all_nan(a): |
| 669 | if isinstance(a, C.Decimal): |
| 670 | return a.is_nan() |
| 671 | elif isinstance(a, tuple): |
| 672 | return all(all_nan(v) for v in a) |
| 673 | return False |
| 674 | |
| 675 | def convert(t, convstr=True): |
| 676 | """ t is the testset. At this stage the testset contains a tuple of |