Dean Moldovan | d47febc | 2017-03-10 15:42:42 +0100 | [diff] [blame] | 1 | [pytest] |
| 2 | minversion = 3.0 |
| 3 | addopts = |
| 4 | # show summary of skipped tests |
| 5 | -rs |
| 6 | # capture only Python print and C++ py::print, but not C output (low-level Python errors) |
| 7 | --capture=sys |
Dean Moldovan | 005fde6 | 2017-05-28 22:39:05 +0200 | [diff] [blame^] | 8 | filterwarnings = |
| 9 | # make warnings into errors but ignore certain third-party extension issues |
| 10 | error |
| 11 | # importing scipy submodules on some version of Python |
| 12 | ignore::ImportWarning |
| 13 | # bogus numpy ABI warning (see numpy/#432) |
| 14 | ignore:.*numpy.dtype size changed.*:RuntimeWarning |