#150475 Report by node 18618adc9b87 covering 1718 tests from 45 modules resulted into 68 errors

Report

ObsPy version
1.1.0.post0+93.g9d445450a3.ob…
GitHub Pull Request
-
Report file
XML document
Total runtime
115.8 sec
Report date/time
Jan. 12, 2026, 3:38 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
18618adc9b87
Processor
x86_64
Python Compiler
GCC 9.3.0
Python Implementation
CPython
Python Version
3.6.15
Release
4.18.0-147.mt20221104.486.el8_1.x86_64
System
Linux
Version
#1 SMP Wed Nov 2 11:07:41 CST 2022

Dependencies

cartopy
---
decorator
5.1.1
flake8
---
future
1.0.0
geographiclib
---
lxml.etree
5.4.0
m2crypto
---
matplotlib
3.3.4
mock
---
mpl_toolkits.basemap
---
numpy
1.18.5
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
---
requests
2.27.1
scipy
1.5.4
setuptools
40.6.2
shapefile
---
sqlalchemy
1.4.54

Modules (45)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
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 19 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
obspy.db 1 20
obspy.geodetics - -
obspy.imaging 35 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
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.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 13 56 57 58 59 60 61 62 63 64 65 66 67 68
obspy.taup - -
Summary 68 68

Tracebacks (68)

Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_network.py", line 146, in test_response_plot
time=t, outfile=ic.name)
File "/testbed/obspy/core/inventory/network.py", line 656, in plot_response
outfile=None)
File "/testbed/obspy/core/inventory/channel.py", line 366, in plot
outfile=outfile)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_channel.py", line 61, in test_response_plot
cha.plot(0.005, outfile=ic.name)
File "/testbed/obspy/core/inventory/channel.py", line 366, in plot
outfile=outfile)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_stream.py", line 2206, in test_remove_response
tr.remove_response(pre_filt=(0.1, 0.5, 30, 50))
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_response.py", line 146, in test_response_plot
outfile=ic.name)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees
plot_degrees=True, outfile=ic.name)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 2586, in test_dtype_is_not_unnecessarily_changed
tr_int32.copy().remove_response(inventory=inv).data.dtype,
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1783, in test_processing_info_remove_response_and_sensitivity
tr.remove_response()
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1733, in test_remove_polynomial_response
tr.remove_response()
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 1712, in test_remove_response
tr2.remove_response(pre_filt=(0.1, 0.5, 30, 50))
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_trace.py", line 2295, in test_remove_response_plot
water_level=60, end_stage=None, plot=ic.name)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_inventory.py", line 193, in test_response_plot
station="[WR]*", time=t, outfile=ic.name)
File "/testbed/obspy/core/inventory/inventory.py", line 875, in plot_response
outfile=None)
File "/testbed/obspy/core/inventory/channel.py", line 366, in plot
outfile=outfile)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_station.py", line 56, in test_response_plot
sta.plot(0.05, channel="*[NE]", outfile=ic.name)
File "/testbed/obspy/core/inventory/station.py", line 487, in plot
show=False, outfile=None)
File "/testbed/obspy/core/inventory/channel.py", line 366, in plot
outfile=outfile)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/testbed/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees
outfile=ic.name)
File "/testbed/obspy/core/inventory/station.py", line 487, in plot
show=False, outfile=None)
File "/testbed/obspy/core/inventory/channel.py", line 366, in plot
outfile=outfile)
File "/testbed/obspy/core/inventory/response.py", line 1569, in plot
end_stage=end_stage)
File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response
freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64)
File "<__array_function__ internals>", line 6, in linspace
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/core/function_base.py", line 121, in linspace
.format(type(num)))
TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.remove_response
File "/testbed/obspy/core/stream.py", line 3032, in remove_response
----------------------------------------------------------------------
File "/testbed/obspy/core/stream.py", line 3043, in obspy.core.stream.Stream.remove_response
Failed example:
st.remove_response(inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module>
st.remove_response(inventory=inv) # doctest: +ELLIPSIS
File "/testbed/obspy/core/stream.py", line 3063, in remove_response
tr.remove_response(*args, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/testbed/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/testbed/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/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.remove_response
File "/testbed/obspy/core/trace.py", line 237, in remove_response
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 278, in obspy.core.trace.Trace.remove_response
Failed example:
tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 1330, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module>
tr.remove_response(inventory=inv) # doctest: +ELLIPSIS
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/testbed/obspy/core/trace.py", line 245, in _add_processing_info
result = func(*args, **kwargs)
File "/testbed/obspy/core/trace.py", line 2723, in remove_response
limit_numpy_fft_cache()
File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache
if not hasattr(np.fft.fftpack, cache):
AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/testbed/obspy/core/trace.py", line 2437, in times
----------------------------------------------------------------------
File "/testbed/obspy/core/trace.py", line 2479, 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 "/testbed/obspy/core/tests/test_utcdatetime.py", line 1002, in test_matplotlib_date
t.matplotlib_date, expected, decimal=8)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 601, 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 "/testbed/obspy/core/tests/test_trace.py", line 1439, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 1533, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/testing/_private/utils.py", line 846, 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/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 858, in __getattr__
return getattr(self.comparator, key)
AttributeError: 'Comparator' object has no attribute '_text_converter_role'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/testbed/obspy/db/tests/test_client.py", line 248, in test_get_preview
starttime=dt, endtime=dt2)
File "/testbed/obspy/db/client.py", line 257, in get_preview
WaveformChannel.channel == temp[3]))
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 2436, in append
coercions.expect(self._text_converter_role, clause).self_group(
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/sqlalchemy/sql/elements.py", line 869, in __getattr__
replace_context=err,
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
raise exception
AttributeError: Neither 'BooleanClauseList' object nor 'Comparator' object has an attribute '_text_converter_role'
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_source.py", line 35, in test_farfield_with_quiver
mt, kind=['beachball', 's_quiver', 'p_quiver'], show=False)
File "/testbed/obspy/imaging/source.py", line 134, in plot_radiation_pattern
fig, axes, kind = _setup_figure_and_axes(kind, fig=fig)
File "/testbed/obspy/imaging/source.py", line 69, in _setup_figure_and_axes
nrows, ncols_, i * ncols_ + j + 1, **kwargs))
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/figure.py", line 1402, in add_subplot
ax = subplot_class_factory(projection_class)(self, *args, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_subplots.py", line 42, in __init__
self._axes_class.__init__(self, fig, self.figbox, **kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 106, in __init__
fig, rect, frameon=True, box_aspect=box_aspect, *args, **kwargs
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 525, in __init__
self.update(kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/matplotlib/artist.py", line 998, in update
ret.append(func(v))
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 324, in set_aspect
"Axes3D currently only supports the aspect argument "
NotImplementedError: Axes3D currently only supports the aspect argument 'auto'. You passed in 'equal'.
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_ppsd.py", line 39, in test_ppsd_plot
period_lim=(0.02, 100), show_mode=True, show_mean=True)
File "/testbed/obspy/signal/spectral_estimation.py", line 1725, in plot
self._plot_histogram(fig=fig)
File "/testbed/obspy/signal/spectral_estimation.py", line 1799, in _plot_histogram
cb.set_clim(*fig.ppsd.color_limits)
AttributeError: 'Colorbar' object has no attribute 'set_clim'
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_ppsd.py", line 80, in test_ppsd_plot_cumulative
max_percentage=None)
File "/testbed/obspy/signal/spectral_estimation.py", line 1725, in plot
self._plot_histogram(fig=fig)
File "/testbed/obspy/signal/spectral_estimation.py", line 1799, in _plot_histogram
cb.set_clim(*fig.ppsd.color_limits)
AttributeError: 'Colorbar' object has no attribute 'set_clim'
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_ppsd.py", line 58, in test_ppsd_plot_frequency
xaxis_frequency=True)
File "/testbed/obspy/signal/spectral_estimation.py", line 1725, in plot
self._plot_histogram(fig=fig)
File "/testbed/obspy/signal/spectral_estimation.py", line 1799, in _plot_histogram
cb.set_clim(*fig.ppsd.color_limits)
AttributeError: 'Colorbar' object has no attribute 'set_clim'
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.imaging.__init__
File "/testbed/obspy/imaging/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/testbed/obspy/imaging/__init__.py", line 109, in obspy.imaging.__init__
Failed example:
beachball(np1) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
----------------------------------------------------------------------
File "/testbed/obspy/imaging/__init__.py", line 128, in obspy.imaging.__init__
Failed example:
beachball(mt) #doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 200x200 with 1 Axes>
----------------------------------------------------------------------
File "/testbed/obspy/imaging/__init__.py", line 156, in obspy.imaging.__init__
Failed example:
ax.set_xlim((-120, 120))
Expected:
(-120, 120)
Got:
(-120.0, 120.0)
----------------------------------------------------------------------
File "/testbed/obspy/imaging/__init__.py", line 158, in obspy.imaging.__init__
Failed example:
ax.set_ylim((-20, 120))
Expected:
(-20, 120)
Got:
(-20.0, 120.0)
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_scan.py", line 179, in test_multiple_sampling_rates
self.assertEqual(expected, out.stdout.splitlines())
AssertionError: Lists differ: ['XX.[53 chars]0:00.899995Z -0.100', 'XX.TEST..BHZ 2008-01-15[48 chars]100'] != ['XX.[53 chars]0:00.900000Z -0.100', 'XX.TEST..BHZ 2008-01-15[48 chars]100']
First differing element 0:
'XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.899995Z -0.100'
'XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.900000Z -0.100'
- ['XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.899995Z -0.100',
? - ^^^^
+ ['XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.900000Z -0.100',
? ^^^^^
- 'XX.TEST..BHZ 2008-01-15T00:00:01.899999Z 2008-01-15T00:00:02.000000Z 0.100']
? - ^^^^
+ 'XX.TEST..BHZ 2008-01-15T00:00:01.900000Z 2008-01-15T00:00:02.000000Z 0.100']
? ^^^^^
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_scan.py", line 71, in test_scan_function_and_scanner_class
scan(paths=os.curdir, plot=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: scan.png
	RMS: 8.132253848886045
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_scan.py", line 55, in test_scan_main_method
obspy_scan([os.curdir] + ['--output', ic.name])
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: scan.png
	RMS: 8.132253848886045
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_scan.py", line 126, in test_scan_save_load_npz
scanner.plot(ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: scan.png
	RMS: 8.132253848886045
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_scan.py", line 96, in test_scanner_manually_add_streams
scanner.plot(ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: scan.png
	RMS: 8.132253848886045
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_plot.py", line 44, in test_plot
obspy_plot(['--outfile', ic.name] + all_files)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: plot.png
	RMS: 12.227737321352631
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_plot.py", line 60, in test_plot_no_merge
all_files)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: plot_nomerge.png
	RMS: 10.725236283333498
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_spectrogram.py", line 48, in test_spectrogram
samp_rate=st[0].stats.sampling_rate, show=False)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: spectrogram_log.png
	RMS: 6.448121173385831
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 300, in test_plot_azim_section
ev_coord=(0.0, 0.0))
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_azim_section.png
	RMS: 4.15877245510419
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 343, in test_plot_colored_section
st.plot(outfile=ic.name, type='section', color='channel')
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_color_section.png
	RMS: 4.040989977715856
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 207, in test_plot_complex_gap_few_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_complex_gap_few_samples.png
	RMS: 9.387093799467436
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 186, in test_plot_complex_gap_many_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_complex_gap_many_samples.png
	RMS: 9.367334199226587
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 450, in test_plot_day_plot
timezone='EST', time_offset=-5)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_dayplot.png
	RMS: 6.519696120219101
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 486, in test_plot_day_plot_catalog
events=cat)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_dayplot_catalog.png
	RMS: 13.147740617054069
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 472, in test_plot_day_plot_explicit_event
{'time': event5, 'text': 'Event 5'}])
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_dayplot_event.png
	RMS: 6.519705067460235
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 424, in test_plot_default_relative
st.plot(outfile=ic.name, type='relative')
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_default_relative.png
	RMS: 11.444898863685953
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 284, in test_plot_default_section
st.plot(outfile=ic.name, type='section')
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_default_section.png
	RMS: 4.16919016916555
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 313, in test_plot_horizontal_section
st.plot(outfile=ic.name, type='section', orientation='horizontal')
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_horiz_section.png
	RMS: 4.179288815097612
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 216, in test_plot_multiple_traces
st.plot(outfile=ic.name, automerge=False)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_1_trace.png
	RMS: 19.248369281578114
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 135, in test_plot_one_hour_few_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_one_hour_few_samples.png
	RMS: 8.835126201701932
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 122, in test_plot_one_hour_many_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_one_hour_many_samples.png
	RMS: 8.79448093977126
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 438, in test_plot_ref_time_relative
st.plot(outfile=ic.name, type='relative', reftime=ref)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_reftime_relative.png
	RMS: 11.388226376394174
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 328, in test_plot_ref_time_section
st.plot(outfile=ic.name, type='section', reftime=reftime)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_reftime_section.png
	RMS: 4.169139399604352
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 165, in test_plot_simple_gap_few_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_simple_gap_few_samples.png
	RMS: 8.583370841341996
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 150, in test_plot_simple_gap_many_samples
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_simple_gap_many_samples.png
	RMS: 8.565587837387461
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 396, in test_plot_wiggles_horizontal_section
fillcolors=("blue", "red"))
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_horizontal_section.png
	RMS: 4.062256146527444
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 361, in test_plot_wiggles_negative_section
fillcolors=(None, "black"))
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_negative_section.png
	RMS: 4.071005404074035
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 379, in test_plot_wiggles_positive_section
fillcolors=("black", None))
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_positive_section.png
	RMS: 4.059963259275466
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 413, in test_plot_wiggles_vertical_section
fillcolors=("blue", "red"))
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_wiggles_vertical_section.png
	RMS: 4.049600803371447
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/imaging/tests/test_waveform.py", line 255, in test_plot_with_labels
st.plot(outfile=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, in __exit__
raise ImageComparisonException(msg)
obspy.core.util.testing.ImageComparisonException: Image comparison failed.
	File: waveform_labels.png
	RMS: 10.851448444025035
	Tolerance: 3.0
Upload to imgur failed (caught ModuleNotFoundError: No module named 'pyimgur').
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_freqattributes.py", line 143, in test_logcep
self.p, self.n, 'Hamming')
File "/testbed/obspy/signal/freqattributes.py", line 356, in log_cepstrum
m, a, b = log_spaced_filterbank_matrix(p, nfft, fs, w)
File "/testbed/obspy/signal/freqattributes.py", line 327, in log_spaced_filterbank_matrix
xx = sparse.coo_matrix((v, (c, r))).transpose().todense()
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/scipy/sparse/coo.py", line 149, in __init__
N = operator.index(np.max(col)) + 1
TypeError: 'numpy.float64' object cannot be interpreted as an integer
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 222, in test_ppsd
ppsd_loaded = PPSD.load_npz(filename)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 563, in test_ppsd_add_npz
ppsd = PPSD.load_npz(tf1.name, metadata=None)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 474, in test_ppsd_restricted_stacks
fig = ppsd.plot(show=False, **plot_kwargs)
File "/testbed/obspy/signal/spectral_estimation.py", line 1725, in plot
self._plot_histogram(fig=fig)
File "/testbed/obspy/signal/spectral_estimation.py", line 1799, in _plot_histogram
cb.set_clim(*fig.ppsd.color_limits)
AttributeError: 'Colorbar' object has no attribute 'set_clim'
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 409, in test_ppsd_save_and_load_npz
ppsd_loaded = PPSD.load_npz(filename, metadata=paz)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 684, in test_ppsd_spectrogram_plot
ppsd = PPSD.load_npz(self.example_ppsd_npz)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 658, in test_ppsd_temporal_plot
ppsd = PPSD.load_npz(self.example_ppsd_npz)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_spectral_estimation.py", line 351, in test_ppsd_w_iris_against_obspy_results
results_paz = PPSD.load_npz(filename_paz, metadata=None)
File "/testbed/obspy/signal/spectral_estimation.py", line 1238, in load_npz
data_ = data[key]
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/npyio.py", line 262, in __getitem__
pickle_kwargs=self.pickle_kwargs)
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/site-packages/numpy/lib/format.py", line 739, in read_array
raise ValueError("Object arrays cannot be loaded when "
ValueError: Object arrays cannot be loaded when allow_pickle=False
Traceback (most recent call last):
File "/home/circleci/.pyenv/versions/3.6.15/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._sosfilt
File "/testbed/obspy/signal/_sosfilt.py", line 405, in _sosfilt
----------------------------------------------------------------------
File "/testbed/obspy/signal/_sosfilt.py", line 468, in obspy.signal._sosfilt._sosfilt
Failed example:
plt.figure() # doctest: +ELLIPSIS
Expected:
<matplotlib.figure.Figure object at 0x...>
Got:
<Figure size 640x480 with 0 Axes>
Traceback (most recent call last):
File "/testbed/obspy/signal/tests/test_interpolation.py", line 136, in test_plot_lanczos_window
plot_lanczos_windows(a=20, filename=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, 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 "/testbed/obspy/signal/tests/test_detrend.py", line 73, in test_polynomial_detrend_plotting
polynomial(tr.data, order=3, plot=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, 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 "/testbed/obspy/signal/tests/test_detrend.py", line 87, in test_spline_detrend_plotting
spline(tr.data, order=1, dspline=1500, plot=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, 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 "/testbed/obspy/signal/tests/test_cross_correlation.py", line 272, in test_xcorr_pick_correction_images
t1, tr1, t2, tr2, 0.05, 0.2, 0.1, plot=True, filename=ic.name)
File "/testbed/obspy/core/util/testing.py", line 510, 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').

Skipped tests (39)

Submodule Test Skip message
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) Cartopy not installed or too old
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
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
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
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
5.307s __init__ (obspy.taup)
5.056s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
4.427s read (obspy.core.stream)
3.866s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.224s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
2.935s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
2.522s test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)
2.501s plot_travel_times (obspy.taup.tau)
2.070s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.886s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
1.856s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.313s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
1.241s test_plot_tf_gofs (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
1.191s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
1.188s test_plot_travel_times_convenience (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.178s test_plot_tf_misfits (obspy.signal.tests.test_tf_misfit.TfPlotTestCase)
1.164s plot_tfr (obspy.signal.tf_misfit)
1.064s test_small_regional_model (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.058s test_spherical_many_phases (obspy.taup.tests.test_plotting.TauPyPlottingTestCase)
1.047s test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)