1605005352[('13.318s', '__init__ (obspy.taup)'), ('10.111s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('9.754s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('9.364s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('6.599s', 'test_trim_floating_point_with_padding_2 (obspy.core.tests.test_trace.TraceTestCase)'), ('6.309s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('6.139s', 'plot_travel_times (obspy.taup.tau)'), ('5.827s', 'test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('5.729s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('5.371s', 'test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('4.638s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('4.444s', 'test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('3.501s', 'test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)'), ('3.266s', 'test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)'), ('3.191s', 'test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('2.978s', 'test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)'), ('2.749s', 'test_relcal_using_dict (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('2.748s', 'test_relcal_using_traces (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('2.687s', 'test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)'), ('2.629s', 'test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)')]253.42037487030031.2.21.2.21.2.21.2.21.2.23.924323797225952True2801.2.21.2.21.2.21.2.21.2.21.2.21.2.249.849517583847046True66625Traceback (most recent call last):
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 386, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/home/damian/miniconda3/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/home/damian/miniconda3/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' (/home/damian/miniconda3/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 367, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/home/damian/miniconda3/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/home/damian/miniconda3/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' (/home/damian/miniconda3/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/home/damian/miniconda3/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/home/damian/miniconda3/lib/python3.7/site-packages/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 "/home/damian/miniconda3/lib/python3.7/doctest.py", line 2196, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/trace.py", line 2487, in times
----------------------------------------------------------------------
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/trace.py", line 2529, 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/damian/miniconda3/lib/python3.7/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/home/damian/miniconda3/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/damian/miniconda3/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/damian/miniconda3/lib/python3.7/site-packages/obspy/core/tests/test_utcdatetime.py", line 1093, in test_matplotlib_date
t.matplotlib_date, expected, decimal=8)
File "/home/damian/miniconda3/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.20.10966634750366211True901.2.20.21952223777770996True2021.2.20True10>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/home/damian/miniconda3/bin/obspy-runtests", line 10, in <module>
sys.exit(main())
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/home/damian/miniconda3/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/imaging/tests/__init__.py", line 23, in suite
add_doctests(suite, MODULE_NAME)
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/core/util/testing.py", line 120, in add_doctests
fromlist=[native_str("obspy")])
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/home/damian/miniconda3/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 50, in <module>
from .proj import Proj
File "/home/damian/miniconda3/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' (/home/damian/miniconda3/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
1.2.20.13655304908752441True501.2.22.7589340209960938True501.2.20.26043081283569336True2801.2.20.16103219985961914True1001.2.20.04239249229431152True101.2.21.1545238494873047True701.2.20.04075145721435547True501.2.20.16822123527526855True801.2.20.04155731201171875True901.2.20.6668686866760254True5501.2.20.2536158561706543True601.2.21.3191285133361816True701.2.20.052256107330322266True401.2.21.0603084564208984True701.2.20.27276134490966797True301.2.22.714550018310547True12701.2.20.5242612361907959True2001.2.20.08881783485412598True1101.2.20.2751622200012207True120Traceback (most recent call last):
File "/home/damian/miniconda3/lib/python3.7/site-packages/obspy/io/nlloc/tests/test_util.py", line 60, in test_read_nlloc_scatter_coordinate_conversion
np.testing.assert_allclose(got[field], expected[field], rtol=1e-5)
File "/home/damian/miniconda3/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/damian/miniconda3/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-05, atol=0
Mismatched elements: 12 / 12 (100%)
Max absolute difference: 0.00140380859375
Max relative difference: 0.00012006328324787319
x: array([ 11.693643, 11.692802, 11.693143, 11.69564 , 11.692195,
11.693854, 11.683114, 11.691299, 11.696191, 11.68159 ,
11.69365 , 11.687802], dtype=float32)
y: array([ 11.692239, 11.6914 , 11.69174 , 11.694236, 11.690792,
11.692451, 11.681713, 11.689898, 11.694788, 11.680189,
11.692247, 11.6864 ], dtype=float32)
1.2.22.5030012130737305True5101.2.20.012419939041137695True301.2.20.5177187919616699True1301.2.20.9970443248748779True3801.2.20.2692570686340332True2001.2.20.3627145290374756True3601.2.20.7466931343078613True9601.2.20.16802597045898438True501.2.20.06771206855773926True201.2.20.9715888500213623True5601.2.20.1720871925354004True801.2.22.387294054031372True4701.2.20.6296393871307373True2501.2.20.7757244110107422True701.2.20.14654946327209473True1101.2.20.8404800891876221True2201.2.20.04037904739379883True801.2.20.24982333183288574True201.2.213.008508443832397True8201.2.20.022647380828857422True501.2.20.34733152389526367True1401.2.20.708336353302002True2201.2.20.0189208984375True201.2.273.51778674125671True19911.2.287.84353399276733True6460.18.21.19.41.5.23.3.24.6.145.1.0.post202001191.3.204.4.22.24.0------1.9.6------2.1.0---4.0.2---------Linux4.15.0-118-generic#119-Ubuntu SMP Tue Sep 8 12:30:01 UTC 2020x86_64x86_643.7.3CPythonGCC 7.3.064bitlabex218928034[('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'), ('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'No code formatting tests for release builds'), ('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_use_obspy_deprecation_warning', 'No code formatting tests for release builds'), ('core', 'obspy.core.tests.test_code_formatting', 'FutureUsageTestCase', 'test_future_imports_in_every_file', 'No code formatting tests for release builds'), ('core', 'obspy.core.tests.test_code_formatting', 'MatplotlibBackendUsageTestCase', 'test_no_pyplot_import_in_any_file', 'No code formatting tests for release builds'), ('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_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.'), ('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')]