forked from pool/python-sunpy
## Bug Fixes * Fixed incorrect reference_date for GONG Synoptic maps. (#7758) * Fix :func:`sunpy.physics.differential_rotation.differential_rotate` to update the reference_date attribute of the input map instead of the date. (#7758) * Fixed incorrect reference_date for SDO/AIA and SDO/HMI data to use the T_OBS keyword instead of the DATE-OBS keyword. * For AIA images, the location of SDO has been shifted up to a second in time, which corresponds to a shift in Heliographic Longitude by only 4 milliarcseconds. (#7758) - Release 6.0.0 ## Breaking Changes * Arguments for ~sunpy.map.GenericMap.reproject_to after the target WCS are now keyword-only. (#7339) * Arguments for sunpy.timeseries.GenericTimeSeries.peek are now keywords only. (#7340) * Removed scikit-image from the "image" extra group and created a new "scikit-image" extra group. (#7536) * sunpy.io.read_file and sunpy.io.write_file are deprecated and will be removed in the future. These were intended to be private functions and should not be used. (#7537) * The ANA C code has been deprecated (sunpy.io.ana.read, sunpy.io.ana.get_header, sunpy.io.ana.write) and may be removed in a future sunpy release. Please contact us here: https://community.openastronomy.org/t/possible-deprecation-of-ana-file-readers-and-writers-in-sunpy if you are making use of this code. (#7642) * The .EUIMap class now returns the DATE-BEG key for .GenericMap.date while continuing to use DATE-AVG as the OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sunpy?expand=0&rev=59
28 lines
753 B
Diff
28 lines
753 B
Diff
Index: sunpy-5.0.0/sunpy/conftest.py
|
|
===================================================================
|
|
--- sunpy-5.0.0.orig/sunpy/conftest.py
|
|
+++ sunpy-5.0.0/sunpy/conftest.py
|
|
@@ -4,6 +4,7 @@ import pathlib
|
|
import tempfile
|
|
import importlib
|
|
|
|
+import hypothesis
|
|
import pytest
|
|
|
|
import astropy
|
|
@@ -34,6 +35,14 @@ collect_ignore = ["data/sample.py"]
|
|
console_logger = logging.getLogger()
|
|
console_logger.setLevel('INFO')
|
|
|
|
+hypothesis.settings.register_profile(
|
|
+ 'obs',
|
|
+ deadline=5000,
|
|
+ suppress_health_check=[hypothesis.HealthCheck.too_slow]
|
|
+)
|
|
+# this loads the profile after the pytest header printout, so don't be confused by the
|
|
+# 'default' there.
|
|
+hypothesis.settings.load_profile('obs')
|
|
|
|
@pytest.fixture
|
|
def jsoc_test_email():
|