#142954 Report by node gh-actions covering 2230 tests from 61 modules resulted into 5 errors
Report
- ObsPy version
- 1.4.1.post0+371.g7a9e392d85
- GitHub Pull Request
- https://github.com/obspy/obspy/pull/3550
- Report file
- JSON document
- Total runtime
- 224.1 sec
- Report date/time
- March 11, 2025, 8:14 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 13.3.0
- Python Implementation
- CPython
- Python Version
- 3.12.9
- Release
- 6.8.0-1021-azure
- System
- Linux
- Version
- #25-Ubuntu SMP Wed Jan 15 20:45:09 UTC 2025
Dependencies
- cartopy
- 0.24.0
- decorator
- 5.2.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 5.3.1
- matplotlib
- 3.10.1
- numpy
- 2.2.3
- obspy
- 1.4.1.post0+371.g7a9e392d85
- pyproj
- 3.7.1
- pytest
- 8.3.5
- pytest-json-report
- 1.5.0
- requests
- 2.32.3
- scipy
- 1.15.2
- setuptools
- 75.8.2
- shapefile
- ---
- sqlalchemy
- 1.4.54
Modules (61)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 100 | 100 | - | 2.47s | - |
obspy.clients.filesystem | - | 26 | 26 | - | 3.55s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | - | 16 | 16 | - | 1.48s | - |
obspy.clients.seedlink | - | 2 | 2 | - | 0.00s | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 5 | 608 | 607 | 1 | 44.50s | 1 2 3 4 5 |
obspy.core.event | - | 18 | 18 | - | 0.24s | - |
obspy.core.inventory | - | 23 | 23 | - | 1.67s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.17s | - |
obspy.geodetics | - | 21 | 20 | 1 | 0.17s | - |
obspy.imaging | - | 93 | 92 | 1 | 24.36s | - |
obspy.io.ah | - | 11 | 11 | - | 0.17s | - |
obspy.io.alsep | - | 16 | 16 | - | 3.36s | - |
obspy.io.arclink | - | 5 | 5 | - | 5.04s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.20s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.09s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.02s | - |
obspy.io.css | - | 10 | 10 | - | 0.24s | - |
obspy.io.csv | - | 17 | 17 | - | 1.16s | - |
obspy.io.cybershake | - | 3 | 3 | - | 0.02s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.04s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.14s | - |
obspy.io.gcf | - | 14 | 13 | 1 | 0.25s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.71s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.21s | - |
obspy.io.iaspei | - | 7 | 7 | - | 1.10s | - |
obspy.io.json | - | 4 | 4 | - | 0.04s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.61s | - |
obspy.io.kml | - | 3 | 3 | - | 0.17s | - |
obspy.io.mseed | - | 128 | 128 | - | 2.43s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.48s | - |
obspy.io.nied | - | 11 | 11 | - | 0.09s | - |
obspy.io.nlloc | - | 16 | 16 | - | 0.59s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 2.26s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.02s | - |
obspy.io.pde | - | 13 | 12 | 1 | 1.31s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.30s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.28s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.25s | - |
obspy.io.sac | - | 101 | 101 | - | 0.81s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.07s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.02s | - |
obspy.io.segy | - | 56 | 56 | - | 0.49s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.11s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 1.50s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.59s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.74s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.11s | - |
obspy.io.stationxml | - | 24 | 24 | - | 0.56s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.04s | - |
obspy.io.win | - | 3 | 3 | - | 0.17s | - |
obspy.io.xseed | - | 84 | 84 | - | 17.99s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.02s | - |
obspy.io.zmap | - | 15 | 15 | - | 0.27s | - |
obspy.realtime | - | 22 | 22 | - | 0.49s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | - | 234 | 232 | 2 | 29.91s | - |
obspy.taup | - | 76 | 76 | - | 48.39s | - |
Summary | 5 | 2230 | 2210 | 20 | 224.14s | 5 |
Tracebacks (5)
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 898, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/tests/test_stats.py", line 53, in test_deepcopy assert stats2.__class__ == Stats AssertionError: assert <class 'obspy.core.trace.NSLCStats'> == Stats + where <class 'obspy.core.trace.NSLCStats'> = NSLCStats({'sampling_rate': 1.0, 'starttime': UTCDateTime(1970, 1, 1, 0, 0), 'npts': 0, 'calib': 1.0, 'network': 'BW',...1'}), 'other2': AttribDict({'test2': '2'}), 'other3': 'test3', 'delta': 1.0, 'endtime': UTCDateTime(1970, 1, 1, 0, 0)}).__class__
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 898, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/tests/test_stats.py", line 328, in test_component assert stats.channel == 'HHL' AssertionError: assert 'HHZ' == 'HHL' - HHL + HHZ
Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() ^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() ^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/capture.py", line 898, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) ^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/tests/test_util_testing.py", line 50, in test_different_stats_no_processing assert not traces_almost_equal(tr1, tr2) AssertionError: assert not True + where True = traces_almost_equal(<obspy.core.trace.Trace object at 0x7f9f4878c440>, <obspy.core.trace.Trace object at 0x7f9f49c044a0>)
321 three character length channel code. This convenience functionality 322 should only be used with channel codes conforming to ``SEED 2.4`` 323 conventions. 324 325 >>> stats = NSLCStats() 326 >>> stats.channel = 'BHZ' 327 >>> print(stats.component) 328 Z 329 >>> stats.component = 'L' 330 >>> print(stats.channel) Expected: BHL Got: BHZ /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/trace.py:330: DocTestFailure
402 fields. 403 404 For other basic information see :class:`~obspy.core.trace.Stats`. 405 406 .. rubric:: Basic Usage 407 408 >>> header = {'namespace': 'FDSN', 'network': 'BW', 'station': 'MANZ', 409 ... 'location': '', 'band': 'B', 'source': 'H', 'subsource': 'Z'} 410 >>> stats = Stats(header=header) 411 >>> print(stats.source_identifier) UNEXPECTED EXCEPTION: AttributeError('source_identifier') Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 140, in __getattr__ return self.__getitem__(name, default) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/trace.py", line 538, in __getitem__ return super().__getitem__(key, default) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/trace.py", line 245, in __getitem__ return super(Stats, self).__getitem__(key, default) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 96, in __getitem__ return self.__dict__[name] ~~~~~~~~~~~~~^^^^^^ KeyError: 'source_identifier' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/miniconda3/envs/test/lib/python3.12/doctest.py", line 1368, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.trace.SourceIdentifierStats[2]>", line 1, in <module> File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/util/attribdict.py", line 142, in __getattr__ raise AttributeError(e.args[0]) AttributeError: source_identifier /home/runner/miniconda3/envs/test/lib/python3.12/site-packages/obspy/core/trace.py:411: UnexpectedException
Skipped tests (20)
Submodule | Test | Skip message |
---|---|---|
core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |