1599041719[('11.347s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('9.973s', '__init__ (obspy.taup)'), ('7.651s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('7.185s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('5.613s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('4.570s', 'plot_travel_times (obspy.taup.tau)'), ('4.184s', 'test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('4.105s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('4.082s', 'test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('3.780s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('3.198s', 'test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('3.055s', 'test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)'), ('2.975s', 'test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)'), ('2.380s', 'test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)'), ('2.268s', 'test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('2.136s', 'test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('1.972s', 'test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)'), ('1.960s', 'test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)'), ('1.881s', 'read (obspy.core.stream)'), ('1.814s', 'test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)')]201.354765415191651.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590793.4927992820739746True2901.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g30995590791.2.2.post0+178.g309955907937.78618812561035True66722Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 374, in test_location_plot_local
net.plot(method='basemap', projection='local', resolution='l',
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.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/core/tests/test_network.py", line 354, in test_location_plot_ortho
net.plot(method='basemap', projection='ortho', resolution='c',
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.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/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 "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.util.base.make_format_plugin_table
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 470, in make_format_plugin_table
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/core/util/base.py", line 476, in obspy.core.util.base.make_format_plugin_table
Failed example:
print(table) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Expected:
======... ===========... ========================================...
Format Used Module _`Linked Function Call`
======... ===========... ========================================...
CMTSOLUTION :mod:`...io.cmtsolution` :func:`..._write_cmtsolution`
CNV :mod:`...io.cnv` :func:`obspy.io.cnv.core._write_cnv`
HYPODDPHA :mod:`...io.hypodd` :func:`obspy.io.hypodd.pha._write_pha`
JSON :mod:`...io.json` :func:`obspy.io.json.core._write_json`
KML :mod:`obspy.io.kml` :func:`obspy.io.kml.core._write_kml`
NLLOC_OBS :mod:`...io.nlloc` :func:`obspy.io.nlloc.core.write_nlloc_obs`
NORDIC :mod:`obspy.io.nordic` :func:`obspy.io.nordic.core.write_select`
QUAKEML :mod:`...io.quakeml` :func:`obspy.io.quakeml.core._write_quakeml`
SC3ML :mod:`...io.seiscomp` :func:`obspy.io.seiscomp.event._write_sc3ml`
SCARDEC :mod:`obspy.io.scardec`
:func:`obspy.io.scardec.core._write_scardec`
SHAPEFILE :mod:`obspy.io.shapefile`
:func:`obspy.io.shapefile.core._write_shapefile`
ZMAP :mod:`...io.zmap` :func:`obspy.io.zmap.core._write_zmap`
======... ===========... ========================================...
Got:
============== =========================== ====================================================
Format Used Module _`Linked Function Call`
============== =========================== ====================================================
CMTSOLUTION :mod:`obspy.io.cmtsolution` :func:`obspy.io.cmtsolution.core._write_cmtsolution`
CNV :mod:`obspy.io.cnv` :func:`obspy.io.cnv.core._write_cnv`
HYPODDPHA :mod:`obspy.io.hypodd` :func:`obspy.io.hypodd.pha._write_pha`
HYPOSAT_PHASES :mod:`obspy.io.hyposat` :func:`obspy.io.hyposat.core._write_hyposat_phases`
JSON :mod:`obspy.io.json` :func:`obspy.io.json.core._write_json`
KML :mod:`obspy.io.kml` :func:`obspy.io.kml.core._write_kml`
NLLOC_OBS :mod:`obspy.io.nlloc` :func:`obspy.io.nlloc.core.write_nlloc_obs`
NORDIC :mod:`obspy.io.nordic` :func:`obspy.io.nordic.core.write_select`
QUAKEML :mod:`obspy.io.quakeml` :func:`obspy.io.quakeml.core._write_quakeml`
SC3ML :mod:`obspy.io.seiscomp` :func:`obspy.io.seiscomp.event._write_sc3ml`
SCARDEC :mod:`obspy.io.scardec` :func:`obspy.io.scardec.core._write_scardec`
SHAPEFILE :mod:`obspy.io.shapefile` :func:`obspy.io.shapefile.core._write_shapefile`
ZMAP :mod:`obspy.io.zmap` :func:`obspy.io.zmap.core._write_zmap`
============== =========================== ====================================================
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.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 1086, in test_matplotlib_date
np.testing.assert_almost_equal(
File "/usr/share/miniconda3/envs/test/lib/python3.8/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+178.g30995590790.07654738426208496True901.2.2.post0+178.g30995590790.22393560409545898True2021.2.2.post0+178.g30995590790True10>>> 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.8/site-packages/coverage/cmdline.py", line 865, in main
status = CoverageScript().command_line(argv)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 582, in command_line
return self.do_run(options, args)
File "/usr/share/miniconda3/envs/test/lib/python3.8/site-packages/coverage/cmdline.py", line 740, in do_run
runner.run()
File "/usr/share/miniconda3/envs/test/lib/python3.8/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 706, in run
return run_tests(verbosity, args.tests, report, args.log, args.server,
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.8/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 114, in add_doctests
_module = __import__(_module_name,
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.8/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/usr/share/miniconda3/envs/test/lib/python3.8/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.8/site-packages/matplotlib/cbook/__init__.py)
1.2.2.post0+178.g30995590790.12816143035888672True501.2.2.post0+178.g30995590793.033395290374756True501.2.2.post0+178.g30995590790.20640897750854492True2801.2.2.post0+178.g30995590790.09372258186340332True1001.2.2.post0+178.g30995590790.029851913452148438True101.2.2.post0+178.g30995590790.6877355575561523True701.2.2.post0+178.g30995590790.029789447784423828True501.2.2.post0+178.g30995590790.15534234046936035True801.2.2.post0+178.g30995590790.0361933708190918True901.2.2.post0+178.g30995590790.7712616920471191True5501.2.2.post0+178.g30995590790.27109742164611816True901.2.2.post0+178.g30995590790.10196781158447266True40Traceback (most recent call last):
File "/usr/share/miniconda3/envs/test/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.hyposat.__init__
File "/home/runner/work/obspy/obspy/obspy/io/hyposat/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/runner/work/obspy/obspy/obspy/io/hyposat/__init__.py", line 24, in obspy.io.hyposat.__init__
Failed example:
print(cat)
Expected:
2 Event(s) in Catalog:
2025-05-14T14:35:35.510000Z | +40.225, +10.450 | 3.5 None
2025-05-14T15:43:05.280000Z | +40.223, +10.450 | 1.8 None
Got:
1 Event(s) in Catalog:
2006-07-15T17:21:20.195670Z | +51.658, +7.737
Traceback (most recent call last):
File "/home/runner/work/obspy/obspy/obspy/io/hyposat/tests/test_core.py", line 91, in test_write_hyposat
self.assertEqual(got, expected)
AssertionError: b'smi[1115 chars] 0.050' != b'smi[1115 chars] 0.050\n'
1.2.2.post0+178.g30995590791.3561952114105225True701.2.2.post0+178.g30995590790.04651308059692383True401.2.2.post0+178.g30995590790.9177465438842773True701.2.2.post0+178.g30995590790.20454740524291992True301.2.2.post0+178.g30995590792.5088491439819336True12701.2.2.post0+178.g30995590790.6799445152282715True2001.2.2.post0+178.g30995590790.08861541748046875True1101.2.2.post0+178.g30995590790.23481965065002441True1201.2.2.post0+178.g30995590792.556671619415283True5101.2.2.post0+178.g30995590790.011265277862548828True301.2.2.post0+178.g30995590790.5386219024658203True1301.2.2.post0+178.g30995590790.840386152267456True3801.2.2.post0+178.g30995590790.28118419647216797True2101.2.2.post0+178.g30995590790.2388298511505127True3601.2.2.post0+178.g30995590790.6357731819152832True9601.2.2.post0+178.g30995590790.11991715431213379True501.2.2.post0+178.g30995590790.05102276802062988True201.2.2.post0+178.g30995590790.7464370727539062True5601.2.2.post0+178.g30995590790.14580583572387695True801.2.2.post0+178.g30995590792.0450632572174072True4701.2.2.post0+178.g30995590790.6802237033843994True2501.2.2.post0+178.g30995590790.7596497535705566True701.2.2.post0+178.g30995590790.11759066581726074True1101.2.2.post0+178.g30995590790.7189650535583496True2201.2.2.post0+178.g30995590790.034150123596191406True801.2.2.post0+178.g30995590790.1608271598815918True201.2.2.post0+178.g309955907914.993548393249512True8201.2.2.post0+178.g30995590790.01845383644104004True501.2.2.post0+178.g30995590790.317608118057251True1401.2.2.post0+178.g30995590790.7435531616210938True2201.2.2.post0+178.g30995590790.01829361915588379True201.2.2.post0+178.g309955907954.30975604057312True19911.2.2.post0+178.g309955907967.10953831672668True6461.19.11.5.23.3.14.5.249.6.0.post202008141.3.194.4.22.24.0---0.6.01.9.6------2.1.0---4.0.2---------Linux5.3.0-1035-azure#36-Ubuntu SMP Thu Aug 6 09:21:33 UTC 2020x86_64x86_643.8.5CPythonGCC 7.5.064bitgh-actions190210031[('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'Formatting tests require at least flake8 3.0.'), ('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'), ('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_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'), ('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/235853541https://github.com/obspy/obspy/pull/2709