module documentation
Pytest configuration and fixtures for the Numpy test suite.
Function | add |
Undocumented |
Function | check |
Check FPU precision mode was not changed during the test. |
Function | env |
Undocumented |
Function | pytest |
Undocumented |
Function | pytest |
Undocumented |
Function | pytest |
Check FPU precision mode was not changed during test collection. |
Function | pytest |
Undocumented |
Function | weak |
Fixture to ensure "legacy" promotion state or change it to use the new weak promotion (plus warning). old_promotion should be used as a parameter in the function. |
Variable | _collect |
Undocumented |
Variable | _old |
Undocumented |
Variable | _pytest |
Undocumented |
Check FPU precision mode was not changed during test collection.
The clumsy way we do it here is mainly necessary because numpy still uses yield tests, which can execute code at test collection time.