1596121805[('9.940s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('7.351s', '__init__ (obspy.taup)'), ('6.354s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('5.625s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('4.236s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('3.426s', 'plot_travel_times (obspy.taup.tau)'), ('3.296s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('3.073s', 'test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('3.024s', 'test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('2.883s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('2.488s', 'test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)'), ('2.463s', 'test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)'), ('2.435s', 'test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('2.370s', 'read (obspy.core.stream)'), ('1.741s', 'test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('1.689s', 'test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)'), ('1.669s', 'test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)'), ('1.605s', 'test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('1.578s', 'test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)'), ('1.491s', 'test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)')]163.911350488662721.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa3.0452139377593994True2901.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa1.2.2.post0+158.g7737d51bfa32.612202644348145True66722Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 375, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 603, in plot
from obspy.imaging.maps import plot_map
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 356, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/home/runner/work/obspy/obspy/obspy/core/inventory/network.py", line 603, in plot
from obspy.imaging.maps import plot_map
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/home/runner/work/obspy/obspy/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date
Failed example:
t.matplotlib_date
Expected:
733643.0139780092
Got:
14480.01397800926
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.7/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2494, in times
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/trace.py", line 2536, in obspy.core.trace.Trace.times
Failed example:
tr.times("matplotlib")
Expected:
array([ 733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Got:
array([ 14480.01392361, 14480.01392373, 14480.01392384, ...,
14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_trace.py", line 1444, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-17, atol=0
Mismatched elements: 5 / 5 (100%)
Max absolute difference: 719163.0
Max relative difference: 0.9849928778830878
x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002,
10957.000002])
y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002,
730120.000002])
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_utcdatetime.py", line 1087, in test_matplotlib_date
t.matplotlib_date, expected, decimal=8)
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839
1.2.2.post0+158.g7737d51bfa0.0684349536895752True901.2.2.post0+158.g7737d51bfa0.19881272315979004True2021.2.2.post0+158.g7737d51bfa0True10>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/usr/share/miniconda3/envs/test/bin/coverage", line 11, in <module>
sys.exit(main())
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/coverage/cmdline.py", line 865, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/coverage/cmdline.py", line 582, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/coverage/cmdline.py", line 740, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/coverage/execfile.py", line 247, in run
exec(code, main_mod.__dict__)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 752, in <module>
errors = run(interactive=False)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 710, in run
pr_url=args.pr_url)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 537, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/runner/work/obspy/obspy/obspy/scripts/runtests.py", line 161, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/usr/share/miniconda3/envs/test/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/runner/work/obspy/obspy/obspy/imaging/tests/__init__.py", line 19, in suite
add_doctests(suite, MODULE_NAME)
File "/home/runner/work/obspy/obspy/obspy/core/util/testing.py", line 115, in add_doctests
fromlist=["obspy"])
File "/home/runner/work/obspy/obspy/obspy/imaging/maps.py", line 28, in <module>
from mpl_toolkits.basemap import Basemap
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/mpl_toolkits/basemap/proj.py", line 6, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/usr/share/miniconda3/envs/test/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
1.2.2.post0+158.g7737d51bfa0.11025810241699219True501.2.2.post0+158.g7737d51bfa2.51003098487854True501.2.2.post0+158.g7737d51bfa0.18168020248413086True2801.2.2.post0+158.g7737d51bfa0.09464454650878906True1001.2.2.post0+158.g7737d51bfa0.02411794662475586True101.2.2.post0+158.g7737d51bfa0.643078088760376True701.2.2.post0+158.g7737d51bfa0.026408672332763672True501.2.2.post0+158.g7737d51bfa0.15395116806030273True801.2.2.post0+158.g7737d51bfa0.030097246170043945True901.2.2.post0+158.g7737d51bfa0.6797704696655273True5501.2.2.post0+158.g7737d51bfa0.20783686637878418True801.2.2.post0+158.g7737d51bfa1.2248258590698242True701.2.2.post0+158.g7737d51bfa0.03847551345825195True401.2.2.post0+158.g7737d51bfa0.7394509315490723True701.2.2.post0+158.g7737d51bfa0.16922450065612793True301.2.2.post0+158.g7737d51bfa2.067286252975464True12701.2.2.post0+158.g7737d51bfa0.545767068862915True2001.2.2.post0+158.g7737d51bfa0.07250690460205078True1101.2.2.post0+158.g7737d51bfa0.18848228454589844True1201.2.2.post0+158.g7737d51bfa2.2254037857055664True5101.2.2.post0+158.g7737d51bfa0.00877690315246582True301.2.2.post0+158.g7737d51bfa0.47006940841674805True1301.2.2.post0+158.g7737d51bfa0.7298109531402588True3801.2.2.post0+158.g7737d51bfa0.22986268997192383True2101.2.2.post0+158.g7737d51bfa0.19989943504333496True3601.2.2.post0+158.g7737d51bfa0.48920750617980957True9601.2.2.post0+158.g7737d51bfa0.08897614479064941True501.2.2.post0+158.g7737d51bfa0.04576277732849121True201.2.2.post0+158.g7737d51bfa0.5922119617462158True5601.2.2.post0+158.g7737d51bfa0.09395980834960938True801.2.2.post0+158.g7737d51bfa1.6315052509307861True4701.2.2.post0+158.g7737d51bfa0.5826675891876221True2501.2.2.post0+158.g7737d51bfa0.6324095726013184True701.2.2.post0+158.g7737d51bfa0.0957803726196289True1101.2.2.post0+158.g7737d51bfa0.5315992832183838True2201.2.2.post0+158.g7737d51bfa0.02828192710876465True801.2.2.post0+158.g7737d51bfa0.1206512451171875True201.2.2.post0+158.g7737d51bfa13.09908676147461True8201.2.2.post0+158.g7737d51bfa0.01564764976501465True501.2.2.post0+158.g7737d51bfa0.26613926887512207True1401.2.2.post0+158.g7737d51bfa0.6241121292114258True2201.2.2.post0+158.g7737d51bfa0.014854669570922852True201.2.2.post0+158.g7737d51bfa44.02177977561951True19911.2.2.post0+158.g7737d51bfa51.440335750579834True6461.19.11.5.23.3.04.5.249.2.0.post202007121.3.184.4.22.24.0---0.6.01.9.6------2.1.0---4.0.2---------Linux5.3.0-1032-azure#33~18.04.1-Ubuntu SMP Fri Jun 26 15:01:15 UTC 2020x86_64x86_643.7.8CPythonGCC 7.5.064bitgh-actions18977031[('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_global', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_local', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_ortho', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_ortho_longitude_wrap', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_plot_catalog_before_1900', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_global', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_local', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_ortho', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_ortho_longitude_wrap', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'EventTestCase', 'test_plot_farfield_without_quiver_with_maps', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'Formatting tests require at least flake8 3.0.'), ('core', 'obspy.core.tests.test_network', 'NetworkBasemapTestCase', 'test_location_plot_global', 'unsupported proj4 library'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_global', 'cartopy not installed'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_local', 'cartopy not installed'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_ortho', 'cartopy not installed'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_combined_station_event_plot', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_global', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_local', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_ortho', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_global', 'cartopy not installed'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_local', 'cartopy not installed'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_ortho', 'cartopy not installed'), ('geodetics', 'obspy.geodetics.tests.test_util_geodetics', 'UtilGeodeticsTestCase', 'test_gps_2_dist_azimuth_with_geographiclib', 'Module geographiclib is not installed'), ('geodetics', 'obspy.geodetics.tests.test_util_geodetics', 'UtilGeodeticsTestCase', 'test_issue_375', 'Module geographiclib is not installed'), ('signal', 'obspy.signal.tests.test_spectral_estimation', 'PsdTestCase', 'test_ppsd_spectrogram_plot', 'matplotlib >= 3 shifts labels'), ('taup', 'obspy.taup.tests.test_ray_paths', 'RayPathCalculationsTestCase', 'test_compute_ray_paths', 'test needs geographiclib >= 1.34'), ('taup', 'obspy.taup.tests.test_tau', 'TauPyModelTestCase', 'test_p_iasp91_geo_manual', 'Module geographiclib is not installed'), ('taup', 'obspy.taup.tests.test_tau', 'TauPyModelTestCase', 'test_pierce_p_iasp91_geo', 'test needs geographiclib >= 1.34'), ('taup', 'obspy.taup.tests.test_tau', 'TauPyModelTestCase', 'test_single_path_geo_iasp91', 'test needs geographiclib >= 1.34'), ('taup', 'obspy.taup.tests.test_taup_geo', 'TaupGeoTestCase', 'test_path_geo', 'Module geographiclib is not installed or too old.'), ('taup', 'obspy.taup.tests.test_taup_geo', 'TaupGeoTestCase', 'test_path_resampling', 'Module geographiclib is not installed or too old.')]https://github.com/obspy/obspy/actions/runs/188742800https://github.com/obspy/obspy/pull/2687