[go: up one dir, main page]

File: pytest.ini

package info (click to toggle)
sunpy 7.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,584 kB
  • sloc: python: 41,702; ansic: 1,710; makefile: 39
file content (79 lines) | stat: -rw-r--r-- 3,169 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[pytest]
minversion = 7.0
testpaths =
    sunpy
    docs
norecursedirs =
    .tox
    build
    docs/_build
    docs/generated
    *.egg-info
    examples
    sunpy/_dev
    sunpy/data/test
    .history
    tools
    sunpy/extern
    benchmarks
    .hypothesis
doctest_plus = enabled
doctest_optionflags =
    NORMALIZE_WHITESPACE
    FLOAT_CMP
    ELLIPSIS
addopts =
    -p no:unraisableexception
    -p no:threadexception
    -m "not mpl_image_compare"
    --arraydiff
    --doctest-ignore-import-errors
asdf_schema_tests_enabled = false
asdf_schema_root = sunpy/io/special/asdf/resources/
mpl-results-path = figure_test_images
mpl-use-full-test-name = true
markers =
    remote_data: marks this test function as needing remote data.
    online: marks this test function as needing online connectivity.
    mpl_image_compare: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunpy.tests.helpers.figure_test decorator.
    flaky
    array_compare
    xdist_group
remote_data_strict = true
# Pin junit behaviour; we might want to update this to xunit2 at some point
junit_family = xunit1
doctest_subpackage_requires =
    docs/tutorial/acquiring_data/index.rst = astropy>=7.0.0
    docs/tutorial/acquiring_data/jsoc.rst = astropy>=7.0.0
    sunpy/net/cdaweb/cdaweb.py = astropy>=7.0.0
filterwarnings =
    # Turn all warnings into errors so they do not pass silently.
    error
    ignore::DeprecationWarning
    ignore::astropy.utils.exceptions.AstropyWarning
    # Do not fail on pytest config issues (i.e. missing plugins) but do show them
    always::pytest.PytestConfigWarning
    # Ignore all divide-by-zero and all-nan warnings
    ignore:invalid value encountered in *:RuntimeWarning
    ignore:divide by zero encountered in *:RuntimeWarning
    ignore:All-NaN slice encountered:RuntimeWarning
    ignore:No contour levels were found within the data range:UserWarning
    ignore:h5py is running against HDF5 1.10:UserWarning
    ignore:.*pandas is buggy:UserWarning
    # A list of warnings to ignore follows. If you add to this list, you MUST
    # add a comment or ideally a link to an issue that explains why the warning
    # is being ignored
    # We provide times into the future and erfa raises a warning causing the CI to fail
    ignore:ERFA function *
    # These randomly crop up due to our network stack and one day we need to track down the root cause
    ignore:unclosed event loop:ResourceWarning
    ignore:unclosed transport:ResourceWarning
    ignore:unclosed \<socket:ResourceWarning
    # This is raised when the VSO redirects and we do not want this to stop the CI
    ignore::sunpy.util.exceptions.SunpyConnectionWarning
    # Pending removal from sunpy 7.0
    ignore:.*module is deprecated, as it was designed for internal use
    # Pending removal from sunpy 7.0
    ignore:The QueryResponse class is deprecated
    # parfive sometimes spews this in oldestdeps
    ignore:This download has been started in a thread which is not the main thread. You will not be able to interrupt the download.