#141094 Report by node mantle covering 1892 tests from 49 modules resulted into 33 errors

Report

ObsPy version
1.2.2
GitHub Pull Request
-
Report file
XML document
Total runtime
81.3 sec
Report date/time
June 25, 2024, 4:42 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
mantle
Processor
x86_64
Python Compiler
GCC 7.3.0
Python Implementation
CPython
Python Version
3.7.6
Release
5.15.0-73-generic
System
Linux
Version
#80~20.04.1-Ubuntu SMP Wed May 17 14:58:14 UTC 2023

Dependencies

cartopy
0.16.0
decorator
4.4.1
flake8
3.7.9
future
0.18.2
geographiclib
---
lxml.etree
4.5.0
m2crypto
---
matplotlib
3.3.3
mock
4.0.1
mpl_toolkits.basemap
---
numpy
1.19.5
pep8-naming
---
pyflakes
2.1.1
pyimgur
---
pyproj
1.9.5.1
requests
2.22.0
scipy
1.6.0
setuptools
68.0.0
shapefile
2.1.3
sqlalchemy
1.3.13

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem 3 1 2 3
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 23 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
obspy.db - -
obspy.geodetics - -
obspy.imaging 1 27
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal 5 28 29 30 31 32
obspy.taup 1 33
Summary 33 33

Tracebacks (33)

Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 720, in test__get_leap_seconds_file
open(test_file, 'a').close()
PermissionError: [Errno 13] Permission denied: '/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tsindex.py", line 1145, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 668, in test_download_leap_seconds_file
file_path = indexer.download_leap_seconds_file(test_file)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tsindex.py", line 1149, in download_leap_seconds_file
.format(file_path, str(e)))
OSError: Failed to create leap seconds file at /opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tsindex.py", line 1145, in download_leap_seconds_file
with open(file_path, "w") as fh:
PermissionError: [Errno 13] Permission denied: '/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 684, in test_download_leap_seconds_file_no_path_given
file_path = indexer.download_leap_seconds_file()
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tsindex.py", line 1149, in download_leap_seconds_file
.format(file_path, str(e)))
OSError: Failed to create leap seconds file at /opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list due to [Errno 13] Permission denied: '/opt/anaconda37/lib/python3.7/site-packages/obspy/clients/filesystem/tests/data/tsindex_data/leap-seconds.list'.
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 788, in test_location_plot_global
inv.plot(method='cartopy', outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 959, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 814, in test_location_plot_local
outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 959, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 801, in test_location_plot_ortho
colormap='Set3', color_per_network=True, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/inventory.py", line 959, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 623, in test_catalog_plot_global
cat.plot(method='cartopy', outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 656, in plot
from obspy.imaging.maps import plot_map, _plot_basemap_into_axes
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 661, in test_catalog_plot_local
color='date', colormap='gist_heat')
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 656, in plot
from obspy.imaging.maps import plot_map, _plot_basemap_into_axes
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 635, in test_catalog_plot_ortho
color='date')
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 656, in plot
from obspy.imaging.maps import plot_map, _plot_basemap_into_axes
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_event.py", line 649, in test_catalog_plot_ortho_longitude_wrap
water_fill_color='b')
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/event/catalog.py", line 656, in plot
from obspy.imaging.maps import plot_map, _plot_basemap_into_axes
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 412, in test_location_plot_global
net.plot(method='cartopy', outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 437, in test_location_plot_local
size=13**2, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 425, in test_location_plot_ortho
color='yellow', label=False, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/inventory/network.py", line 609, in plot
from obspy.imaging.maps import plot_map
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/trace.py", line 2487, in times
----------------------------------------------------------------------
File "/opt/anaconda37/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 "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_inventory.py", line 202, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: inventory_response.png
	RMS: 9.886507545281157
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_trace.py", line 2304, in test_remove_response_plot
water_level=60, end_stage=None, plot=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: trace_remove_response.png
	RMS: 8.335286780566443
	Tolerance: 4.5
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/opt/anaconda37/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 "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees
plot_degrees=True, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: response_response_degrees.png
	RMS: 3.027560756111171
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: channel_response.png
	RMS: 5.1236100992815485
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response.png
	RMS: 10.352036383185995
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees
outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: station_response_degrees.png
	RMS: 10.350095533817859
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_utcdatetime.py", line 1093, in test_matplotlib_date
t.matplotlib_date, expected, decimal=8)
File "/opt/anaconda37/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
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/tests/test_network.py", line 147, in test_response_plot
time=t, outfile=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: network_response.png
	RMS: 6.860723345242748
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
>>> Cannot import test suite for module obspy.imaging due to:
-------------------------------------------------------------
File "/opt/anaconda37/bin/obspy-runtests", line 8, in <module>
sys.exit(main())
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 747, in main
errors = run(argv, interactive)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/opt/anaconda37/lib/python3.7/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/tests/__init__.py", line 23, in suite
add_doctests(suite, MODULE_NAME)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 120, in add_doctests
fromlist=[native_str("obspy")])
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/imaging/maps.py", line 33, in <module>
from mpl_toolkits.basemap import Basemap
File "/opt/anaconda37/lib/python3.7/site-packages/mpl_toolkits/basemap/__init__.py", line 26, in <module>
from matplotlib.cbook import dedent
ImportError: cannot import name 'dedent' from 'matplotlib.cbook' (/opt/anaconda37/lib/python3.7/site-packages/matplotlib/cbook/__init__.py)
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/signal/tests/test_cross_correlation.py", line 302, in test_xcorr_pick_correction_images
t1, tr1, t2, tr2, 0.05, 0.2, 0.1, plot=True, filename=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: xcorr_pick_corr.png
	RMS: 11.053224642609957
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/signal/tests/test_interpolation.py", line 136, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: plot_lanczos_window.png
	RMS: 13.266716499068888
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 504, in test_ppsd_restricted_stacks
fig.savefig(ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: ppsd_restricted_stack.png
	RMS: 13.212853590349058
	Tolerance: 4.5
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/signal/tests/test_detrend.py", line 73, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: polynomial_detrend.png
	RMS: 7.700355186613147
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/signal/tests/test_detrend.py", line 87, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: degree_1_spline_detrend.png
	RMS: 7.700355186613147
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/taup/tests/test_plotting.py", line 95, in test_spherical_diff_phases
plt.savefig(ic.name)
File "/opt/anaconda37/lib/python3.7/site-packages/obspy/core/util/testing.py", line 513, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spherical_diff_phases.png
	RMS: 5.820826115481089
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').

Skipped tests (24)

Submodule Test Skip message
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) No code formatting tests for release builds
core test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) No code formatting tests for release builds
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) unsupported proj4 library
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34

Slowest tests (20)

Runtime Test
3.781s __init__ (obspy.taup)
3.336s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
2.862s read (obspy.core.stream)
2.844s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.943s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
1.844s plot_travel_times (obspy.taup.tau)
1.771s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
1.732s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
1.689s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.510s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.352s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.322s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
1.225s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
1.032s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
1.018s test_trim_floating_point_with_padding_2 (obspy.core.tests.test_trace.TraceTestCase)
0.881s test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
0.863s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
0.809s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
0.797s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
0.789s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)