#159952 Report by node localhost covering 2009 tests from 61 modules resulted into 12 errors

Report

ObsPy version
0.0.0.dev+0.g4301890312
GitHub Pull Request
-
Report file
JSON document
Total runtime
75.1 sec
Report date/time
Aug. 26, 2026, 8:09 a.m.

System / Python

Architecture
64bit
Machine
aarch64
Node
localhost
Processor
aarch64
Python Compiler
GCC 11.4.0
Python Implementation
CPython
Python Version
3.10.12
Release
6.18.46-rFBSf5ccc1a0256312
System
Linux
Version
#1 SMP PREEMPT_DYNAMIC Mon Aug 24 20:36:58 UTC 2026

Dependencies

cartopy
---
decorator
5.3.1
flake8
---
geographiclib
---
lxml
4.8.0
matplotlib
3.10.9
numpy
1.26.4
obspy
0.0.0.dev+0.g4301890312
pyproj
3.7.1
pytest
9.1.1
pytest-json-report
1.5.0
requests
2.34.2
scipy
1.10.1
setuptools
84.0.0
shapefile
---
sqlalchemy
1.4.54

Modules (61)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn - -
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 12 1 2 3 4 5 6 7 8 9 10 11 12
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.db Not tested -
obspy.geodetics - -
obspy.imaging - -
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 - -
obspy.taup - -
Summary 12 12

Tracebacks (12)

2333
2334 .. rubric:: Example
2335
2336 >>> st = read()
2337 >>> print(st) # doctest: +ELLIPSIS
2338 3 Trace(s) in Stream:
2339 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2340 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2341 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2342 >>> st.resample(10.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
File "/app/repo/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/app/repo/obspy/core/stream.py:2342: UnexpectedException
Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_channel.py", line 32, in test_response_plot
cha.plot(0.005, outfile=image_path)
File "/app/repo/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
File "/app/repo/obspy/core/inventory/response.py", line 1904, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2267, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_response.py", line 121, in test_response_plot
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/app/repo/obspy/core/inventory/response.py", line 1904, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2267, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/app/repo/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_response.py", line 130, in test_response_plot_degrees
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/app/repo/obspy/core/inventory/response.py", line 1904, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/app/repo/obspy/core/inventory/response.py", line 2267, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/usr/local/lib/python3.10/dist-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/app/repo/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_stream.py", line 2247, in test_method_chaining
.resample(st[0].stats.sampling_rate / 2)\
File "/app/repo/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1640, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1678, in test_method_chaining
.resample(tr.stats.sampling_rate / 2.0)\
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 1845, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2119, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2544, in test_dtype_is_not_unnecessarily_changed
assert tr_int32.copy().resample(2.0).data.dtype == np.float64
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 361, in from_call
result: TResult | None = func()
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 250, in <lambda>
lambda: runtest_hook(item=item, **kwds),
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/logging.py", line 865, in pytest_runtest_call
yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
File "/usr/local/lib/python3.10/dist-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/usr/local/lib/python3.10/dist-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/runner.py", line 184, in pytest_runtest_call
item.runtest()
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 1707, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
File "/usr/local/lib/python3.10/dist-packages/_pytest/python.py", line 167, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/app/repo/obspy/core/tests/test_trace.py", line 2717, in test_resample_short_traces
tr.resample(30)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
1687 the signal is assumed to be periodic.
1688
1689 .. rubric:: Example
1690
1691 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1]))
1692 >>> len(tr)
1693 8
1694 >>> tr.stats.sampling_rate
1695 1.0
1696 >>> tr.resample(4.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/doctest.py", line 1350, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/decorator/__init__.py", line 247, in fun
return caller(func, *(extras + args), **kw)
File "/app/repo/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
File "/app/repo/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
File "/usr/local/lib/python3.10/dist-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/app/repo/obspy/core/trace.py:1696: UnexpectedException

Skipped tests (41)

Submodule Test Skip message
core obspy/core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core obspy/core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core obspy/core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core obspy/core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
core.util obspy/core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util obspy/core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_with_geographiclib Skipped: Module geographiclib is not installed
geodetics obspy/geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
imaging obspy/imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii obspy/io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic obspy/io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde obspy/io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml obspy/io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan obspy/io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh obspy/io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile obspy/io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
io.wav obspy/io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y obspy/io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal obspy/signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option
signal obspy/signal/tests/test_quality_control.py::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
signal obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_spectrogram_plot Skipped: matplotlib >= 3 shifts labels
taup obspy/taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup obspy/taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
2.892s obspy/io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
2.483s obspy/taup/__init__.py::obspy.taup
2.185s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
1.716s obspy/core/stream.py::obspy.core.stream.read
1.445s obspy/signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
1.380s obspy/core/tests/test_stream.py::TestStream::test_read_url_via_network
1.160s obspy/signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.148s obspy/taup/tau.py::obspy.taup.tau.plot_travel_times
1.114s obspy/taup/tests/test_tau.py::TestTauPyModel::test_regional_models
1.055s obspy/signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
1.029s obspy/core/tests/test_trace.py::TestTrace::test_remove_response_plot
0.988s obspy/taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
0.942s obspy/taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
0.846s obspy/io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
0.835s obspy/signal/tests/test_tf_misfit.py::TestTfPlot::test_plot_tf_gofs
0.685s obspy/signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
0.684s obspy/signal/tests/test_interpolation.py::TestInterpolation::test_plot_lanczos_window
0.673s obspy/imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_multiple_traces_10_traces_huge
0.652s obspy/taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases
0.620s obspy/imaging/tests/test_waveform.py::TestWaveformPlot::test_plot_wiggles_vertical_section

Warnings (56)

Stage Filename Category Message
runtest /app/repo/obspy/taup/tau_branch.py:283 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/signal/spectral_estimation.py:2045 UserWarning Attempting to set identical low and high xlims makes transformation singular; automatically expanding.
runtest /app/repo/obspy/signal/tf_misfit.py:1084 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:262 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/io/sac/sactrace.py:1543 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
runtest /app/repo/obspy/imaging/source.py:196 UserWarning Tight layout not applied. The left and right margins cannot be made large enough to accommodate all Axes decorations.
runtest /app/repo/obspy/taup/tau_branch.py:416 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:388 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
collect /app/repo/obspy/clients/filesystem/db.py:18 MovedIn20Warning Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
collect /app/repo/obspy/imaging/maps.py:34 UserWarning Cartopy not installed, map plots will not work.
runtest /app/repo/obspy/taup/tau_branch.py:297 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/core/utcdatetime.py:1084 ObsPyDeprecationWarning Comparing UTCDateTime objects of different precision is not defined will raise an Exception in a future version of obspy
runtest /app/repo/obspy/taup/tau_branch.py:281 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:298 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:282 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /usr/local/lib/python3.10/dist-packages/_pytest/fixtures.py:1313 PytestRemovedIn10Warning Class-scoped fixture defined as instance method is deprecated. Instance attributes set in this fixture will NOT be visible to test methods, as each test gets a new instance while the fixture runs only once per class. Use @classmethod decorator and set attributes on cls instead. See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
runtest /app/repo/obspy/taup/seismic_phase.py:1465 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:415 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 281472434268784 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id
collect /app/repo/obspy/taup/tau.py:25 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /app/repo/obspy/taup/tau_branch.py:296 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/seismic_phase.py:1438 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
collect /app/repo/obspy/clients/arclink/__init__.py:34 ObsPyDeprecationWarning ArcLink protocol has been officially deprecated and some main servers have been shut down already. Please consider using other methods like FDSN web services to fetch data. ArcLink functionality is now untested in ObsPy.
collect /app/repo/obspy/imaging/cm.py:299 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
collect /app/repo/obspy/imaging/cm.py:300 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
collect /app/repo/obspy/signal/invsim.py:375 DeprecationWarning Please use `zpk2tf` from the `scipy.signal` namespace, the `scipy.signal.ltisys` namespace is deprecated.
runtest /app/repo/obspy/io/sac/tests/test_sactrace.py:187 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
runtest /app/repo/obspy/taup/tau_branch.py:260 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/signal/spectral_estimation.py:2045 UserWarning Attempt to set non-positive xlim on a log-scaled axis will be ignored.
runtest /app/repo/obspy/signal/tf_misfit.py:1344 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/core/event/resourceid.py:622 UserWarning overwritting the id attribute of a ResourceIdentifierobject is very dangerous and will raise an exception in a future version of obspy
runtest /app/repo/obspy/taup/taup_geo.py:91 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
runtest <doctest obspy.core.event.resourceid.ResourceIdentifier[37]>:1 ObsPyDeprecationWarning Converts the current ID to a valid QuakeML URI. This method is deprecated, use :meth:`get_quakeml_id` instead. Only an invalid QuakeML ResourceIdentifier string it will be converted to a valid one. Otherwise nothing will happen but after calling this method the user can be sure that the ID is a valid QuakeML URI. The resulting ID will be of the form smi:authority_id/prefix/resource_id :type authority_id: str, optional :param authority_id: The base url of the resulting string. Defaults to ``"local"``.
runtest /usr/local/lib/python3.10/dist-packages/scipy/signal/_filter_design.py:4536 DeprecationWarning `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.
runtest /app/repo/obspy/taup/tau_branch.py:387 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/imaging/waveform.py:1282 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /usr/local/lib/python3.10/dist-packages/numpy/matrixlib/defmatrix.py:70 PendingDeprecationWarning the matrix subclass is not the recommended way to represent matrices or deal with linear algebra (see https://docs.scipy.org/doc/numpy/user/numpy-for-matlab-users.html). Please adjust your code to use regular ndarray.
runtest /app/repo/obspy/io/nordic/utils.py:184 UserWarning Lines of type I have not been implemented yet, please submit a development request
runtest /app/repo/obspy/imaging/beachball.py:245 RuntimeWarning More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`). Consider using `matplotlib.pyplot.close()`.
runtest /app/repo/obspy/io/kml/core.py:65 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /app/repo/obspy/signal/spectral_estimation.py:1544 UserWarning 4/4 segments omitted in file '/tmp/obspy-rthevuwe.npz' (time ranges already covered).
runtest /app/repo/obspy/io/seiscomp/inventory.py:514 UserWarning Something went hopelessly wrong, found sampling-rate of 0!
runtest /app/repo/obspy/io/mseed/tests/test_mseed_util.py:75 DeprecationWarning NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows).
runtest /app/repo/obspy/imaging/source.py:375 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /app/repo/obspy/taup/tau_branch.py:417 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/taup/tau_branch.py:386 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 281472342028784 and id of obspy.org/tests/test_resource_doc_example no longer exists, trying to find an object with the same id
runtest /app/repo/obspy/core/event/resourceid.py:348 UserWarning The object with identity of: 281472481931328 and id of smi:local/5efcccde-317d-42fb-a118-08f7a64504b0 no longer exists, trying to find an object with the same id
runtest /app/repo/obspy/taup/tau_branch.py:261 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/imaging/source.py:331 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /app/repo/obspy/imaging/scripts/mopad.py:840 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/imaging/source.py:338 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /app/repo/obspy/signal/invsim.py:375 DeprecationWarning Please use `zpk2tf` from the `scipy.signal` namespace, the `scipy.signal.ltisys` namespace is deprecated.
runtest /usr/local/lib/python3.10/dist-packages/_pytest/python.py:167 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
runtest /app/repo/obspy/taup/slowness_model.py:1813 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /app/repo/obspy/io/seiscomp/inventory.py:496 UserWarning Clock drift division by sample rate of 0: using sec/sample