File: pytest.ini

package info (click to toggle)
python-hypothesis 6.138.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,272 kB
  • sloc: python: 62,853; ruby: 1,107; sh: 253; makefile: 41; javascript: 6
file content (28 lines) | stat: -rw-r--r-- 1,463 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[pytest]

# -rfEX :: Print a summary of failures, errors, and xpasses (xfails that pass).
addopts =
    -rfEX
    --strict-markers
    --tb=native
    -p pytester
    -p no:legacypath
    --runpytest=subprocess
    --durations=20
    --durations-min=1.0
xfail_strict = True
filterwarnings =
    error
    # https://github.com/pandas-dev/pandas/issues/41199
    default:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning
    default:distutils Version classes are deprecated\. Use packaging\.version instead:DeprecationWarning
    # https://github.com/pandas-dev/pandas/issues/32056 (?)
    default:numpy\.ufunc size changed, may indicate binary incompatibility\. Expected 216 from C header, got 232 from PyObject:RuntimeWarning
    # https://github.com/pandas-dev/pandas/issues/34848
    default:`np\.bool` is a deprecated alias for the builtin `bool`:DeprecationWarning
    default:`np\.complex` is a deprecated alias for the builtin `complex`:DeprecationWarning
    default:`np\.object` is a deprecated alias for the builtin `object`:DeprecationWarning
    # pytest-cov can't see into subprocesses; we'll see <100% covered if this is an issue
    ignore:Module hypothesis.* was previously imported, but not measured
    ignore:CrosshairPrimitiveProvider.realize does not have the for_failure parameter
    default:Call to '__init__' function with deprecated usage of input argument/s 'retry_on_timeout'