()
| 34 | |
| 35 | |
| 36 | def _show_numpy_info(): |
| 37 | import numpy as np |
| 38 | |
| 39 | print("NumPy version %s" % np.__version__) |
| 40 | relaxed_strides = np.ones((10, 1), order="C").flags.f_contiguous |
| 41 | print("NumPy relaxed strides checking option:", relaxed_strides) |
| 42 | info = np.lib.utils._opt_info() |
| 43 | print("NumPy CPU features: ", (info if info else 'nothing enabled')) |
| 44 | |
| 45 | |
| 46 | class PytestTester: |