(attr)
| 64 | |
| 65 | |
| 66 | def __getattr__(attr): |
| 67 | |
| 68 | # Avoid importing things that aren't needed for building |
| 69 | # which might import the main numpy module |
| 70 | if attr == "test": |
| 71 | from numpy._pytesttester import PytestTester |
| 72 | test = PytestTester(__name__) |
| 73 | return test |
| 74 | |
| 75 | else: |
| 76 | raise AttributeError(f"module {__name__!r} has no attribute {attr!r}") |
| 77 | |
| 78 | |
| 79 | def __dir__(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…