(attr)
| 177 | |
| 178 | |
| 179 | def __getattr__(attr): |
| 180 | |
| 181 | # Avoid importing things that aren't needed for building |
| 182 | # which might import the main numpy module |
| 183 | if attr == "test": |
| 184 | from numpy._pytesttester import PytestTester |
| 185 | test = PytestTester(__name__) |
| 186 | return test |
| 187 | |
| 188 | else: |
| 189 | raise AttributeError("module {!r} has no attribute " |
| 190 | "{!r}".format(__name__, attr)) |
| 191 | |
| 192 | |
| 193 | def __dir__(): |
nothing calls this directly
no test coverage detected