#147531 Report by node e22367c369b3 covering 736 tests from 42 modules resulted into 41 errors
Report
- ObsPy version
- 1.0.3rc1.post0+776.g1e2e01414…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 79.5 sec
- Report date/time
- Nov. 10, 2025, 5:08 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- e22367c369b3
- Processor
- None
- Python Compiler
- GCC 14.2.0
- Python Implementation
- CPython
- Python Version
- 3.9.25
- Release
- 5.15.0-106-generic
- System
- Linux
- Version
- #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024
Dependencies
- cartopy
- ---
- decorator
- 5.2.1
- flake8
- ---
- future
- 1.0.0
- geographiclib
- ---
- lxml.etree
- 6.0.2
- m2crypto
- ---
- matplotlib
- 3.9.4
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.26.4
- osgeo.gdal
- ---
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.32.5
- scipy
- 1.13.1
- setuptools
- 59.8.0
- sqlalchemy
- 2.0.44
Modules (42)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.arclink | Not tested | - | - | - | - | - |
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | Not tested | - | - | - | - | - |
| obspy.clients.filesystem | 2 | 6 | 6 | - | 2.56s | 1 2 |
| obspy.clients.iris | Not tested | - | - | - | - | - |
| obspy.clients.neic | Not tested | - | - | - | - | - |
| obspy.clients.seedlink | Not tested | - | - | - | - | - |
| obspy.clients.seishub | Not tested | - | - | - | - | - |
| obspy.clients.syngine | Not tested | - | - | - | - | - |
| obspy.core | 1 | 1 | 1 | - | 0.00s | 3 |
| obspy.db | 1 | 1 | 1 | - | 0.00s | 4 |
| obspy.geodetics | - | 18 | 16 | 2 | 0.07s | - |
| obspy.imaging | 1 | 1 | 1 | - | 0.00s | 5 |
| obspy.io.ah | - | 4 | 4 | - | 0.60s | - |
| obspy.io.ascii | - | 22 | 22 | - | 0.22s | - |
| obspy.io.cmtsolution | - | 9 | 9 | - | 0.07s | - |
| obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
| obspy.io.css | - | 7 | 7 | - | 0.20s | - |
| obspy.io.datamark | - | 2 | 2 | - | 0.07s | - |
| obspy.io.gcf | 9 | 9 | 9 | - | 0.29s | 6 7 8 9 10 11 12 13 14 |
| obspy.io.gse2 | 1 | 55 | 55 | - | 0.50s | 15 |
| obspy.io.json | - | 4 | 4 | - | 0.03s | - |
| obspy.io.kinemetrics | 1 | 7 | 7 | - | 0.56s | 16 |
| obspy.io.kml | - | 3 | 3 | - | 0.11s | - |
| obspy.io.mseed | 1 | 107 | 107 | - | 2.99s | 17 |
| obspy.io.ndk | - | 20 | 20 | - | 0.49s | - |
| obspy.io.nied | - | 11 | 11 | - | 0.36s | - |
| obspy.io.nlloc | - | 10 | 9 | 1 | 0.13s | - |
| obspy.io.nordic | - | 31 | 31 | - | 0.74s | - |
| obspy.io.pdas | - | 3 | 3 | - | 0.04s | - |
| obspy.io.pde | - | 13 | 13 | - | 0.16s | - |
| obspy.io.quakeml | - | 32 | 32 | - | 0.35s | - |
| obspy.io.reftek | 6 | 18 | 18 | - | 0.29s | 18 19 20 21 22 23 |
| obspy.io.sac | 3 | 83 | 83 | - | 0.68s | 24 25 26 |
| obspy.io.seg2 | 1 | 1 | 1 | - | 0.03s | 27 |
| obspy.io.segy | - | 49 | 49 | - | 0.34s | - |
| obspy.io.seisan | 1 | 8 | 8 | - | 0.04s | 28 |
| obspy.io.seiscomp | - | 17 | 17 | - | 0.28s | - |
| obspy.io.sh | 1 | 19 | 19 | - | 0.30s | 29 |
| obspy.io.shapefile | - | 5 | 1 | 4 | 0.05s | - |
| obspy.io.stationtxt | - | 11 | 11 | - | 0.24s | - |
| obspy.io.stationxml | - | 16 | 16 | - | 0.28s | - |
| obspy.io.wav | - | 8 | 7 | 1 | 0.24s | - |
| obspy.io.xseed | 1 | 45 | 45 | - | 0.52s | 30 |
| obspy.io.y | - | 5 | 5 | - | 0.03s | - |
| obspy.io.zmap | - | 14 | 14 | - | 0.33s | - |
| obspy.realtime | 1 | 1 | 1 | - | 0.00s | 31 |
| obspy.scripts | - | 2 | 2 | - | 0.08s | - |
| obspy.signal | 1 | 1 | 1 | - | 0.00s | 32 |
| obspy.taup | 9 | 56 | 52 | 4 | 65.23s | 33 34 35 36 37 38 39 40 41 |
| Summary | 41 | 736 | 724 | 12 | 79.52s | 41 |
Tracebacks (41)
Traceback (most recent call last): File "/usr/local/lib/python3.9/sre_parse.py", line 1051, in parse_template this = chr(ESCAPES[this][1]) KeyError: '\\w' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/clients/filesystem/tests/test_sds.py", line 241, in test_get_all_stations_and_nslc got_netsta = client.get_all_stations() File "/testbed/obspy/clients/filesystem/sds.py", line 556, in get_all_stations dict_ = _parse_path_to_dict(file_, pattern_, group_map) File "/testbed/obspy/clients/filesystem/sds.py", line 592, in _parse_path_to_dict regex = re.sub(FORMAT_STR_PLACEHOLDER_REGEX, r'(\w*?)', regex) + "$" File "/usr/local/lib/python3.9/re.py", line 210, in sub return _compile(pattern, flags).sub(repl, string, count) File "/usr/local/lib/python3.9/re.py", line 327, in _subx template = _compile_repl(template, pattern) File "/usr/local/lib/python3.9/re.py", line 318, in _compile_repl return sre_parse.parse_template(repl, pattern) File "/usr/local/lib/python3.9/sre_parse.py", line 1054, in parse_template raise s.error('bad escape %s' % this, len(this)) re.error: bad escape \w at position 1
Traceback (most recent call last): File "/usr/local/lib/python3.9/sre_parse.py", line 1051, in parse_template this = chr(ESCAPES[this][1]) KeyError: '\\w' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/clients/filesystem/tests/test_sds.py", line 184, in test_sds_report sds_report(argv) File "/testbed/obspy/scripts/sds_html_report.py", line 367, in main for net, sta in client.get_all_stations(): File "/testbed/obspy/clients/filesystem/sds.py", line 556, in get_all_stations dict_ = _parse_path_to_dict(file_, pattern_, group_map) File "/testbed/obspy/clients/filesystem/sds.py", line 592, in _parse_path_to_dict regex = re.sub(FORMAT_STR_PLACEHOLDER_REGEX, r'(\w*?)', regex) + "$" File "/usr/local/lib/python3.9/re.py", line 210, in sub return _compile(pattern, flags).sub(repl, string, count) File "/usr/local/lib/python3.9/re.py", line 327, in _subx template = _compile_repl(template, pattern) File "/usr/local/lib/python3.9/re.py", line 318, in _compile_repl return sre_parse.parse_template(repl, pattern) File "/usr/local/lib/python3.9/sre_parse.py", line 1054, in parse_template raise s.error('bad escape %s' % this, len(this)) re.error: bad escape \w at position 1
>>> Cannot import test suite for module obspy.core due to: ---------------------------------------------------------- File "/testbed/runtests.py", line 22, in <module> main(argv=sys.argv[1:]) File "/testbed/obspy/scripts/runtests.py", line 775, in main errors = run(argv, interactive) File "/testbed/obspy/scripts/runtests.py", line 739, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "/testbed/obspy/scripts/runtests.py", line 576, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/testbed/obspy/scripts/runtests.py", line 178, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/testbed/obspy/core/tests/__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "/testbed/obspy/core/util/testing.py", line 71, in add_unittests _module = __import__(_module_name, File "/testbed/obspy/core/tests/test_response.py", line 32, in <module> from obspy.signal.invsim import evalresp File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
>>> Cannot import test suite for module obspy.db due to: -------------------------------------------------------- File "/testbed/runtests.py", line 22, in <module> main(argv=sys.argv[1:]) File "/testbed/obspy/scripts/runtests.py", line 775, in main errors = run(argv, interactive) File "/testbed/obspy/scripts/runtests.py", line 739, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "/testbed/obspy/scripts/runtests.py", line 576, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/testbed/obspy/scripts/runtests.py", line 178, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/testbed/obspy/db/tests/__init__.py", line 16, in suite add_unittests(suite, MODULE_NAME) File "/testbed/obspy/core/util/testing.py", line 71, in add_unittests _module = __import__(_module_name, File "/testbed/obspy/db/tests/test_client.py", line 14, in <module> from obspy.db.client import Client File "/testbed/obspy/db/client.py", line 24, in <module> from obspy.db.db import Base, WaveformChannel, WaveformFile, WaveformPath File "/testbed/obspy/db/db.py", line 20, in <module> from sqlalchemy.orm import relation ImportError: cannot import name 'relation' from 'sqlalchemy.orm' (/usr/local/lib/python3.9/site-packages/sqlalchemy/orm/__init__.py)
>>> Cannot import test suite for module obspy.imaging due to: ------------------------------------------------------------- File "/testbed/runtests.py", line 22, in <module> main(argv=sys.argv[1:]) File "/testbed/obspy/scripts/runtests.py", line 775, in main errors = run(argv, interactive) File "/testbed/obspy/scripts/runtests.py", line 739, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "/testbed/obspy/scripts/runtests.py", line 576, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/testbed/obspy/scripts/runtests.py", line 178, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/testbed/obspy/imaging/tests/__init__.py", line 24, in suite add_unittests(suite, MODULE_NAME) File "/testbed/obspy/core/util/testing.py", line 71, in add_unittests _module = __import__(_module_name, File "/testbed/obspy/imaging/tests/test_ppsd.py", line 16, in <module> from obspy.signal.tests.test_spectral_estimation import _get_ppsd File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 129, in test_merge_gcf_stream st1 = read(filename, headonly=True, channel_prefix="HN") File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 112, in test_read_channel_prefix_via_obspy st = read(filename, headonly=True, channel_prefix="HN") File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 95, in test_read_head_via_module st = _read_gcf(filename, headonly=True) File "/testbed/obspy/io/gcf/core.py", line 89, in _read_gcf header = libgcf.read_header(f, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 155, in read_header return read_data_block(f, headonly=True, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 95, in read_data_block sysid = decode36(sysid) File "/testbed/obspy/io/gcf/libgcf.py", line 57, in decode36 c = chr(imed + ord('0')) TypeError: only integer scalar arrays can be converted to a scalar index
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 59, in test_read_head_via_obspy st = read(filename, headonly=True) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 76, in test_read_via_module st = _read_gcf(filename) File "/testbed/obspy/io/gcf/core.py", line 93, in _read_gcf hd = libgcf.read(f, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 162, in read return read_data_block(f, headonly=False, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 95, in read_data_block sysid = decode36(sysid) File "/testbed/obspy/io/gcf/libgcf.py", line 57, in decode36 c = chr(imed + ord('0')) TypeError: only integer scalar arrays can be converted to a scalar index
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 40, in test_read_via_obspy st = read(filename) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last): File "/testbed/obspy/io/gcf/tests/test_core.py", line 154, in test_sps_d st = read(filename, headonly=True, channel_prefix="HN") File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1910n.gcf
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gcf.core._read_gcf File "/testbed/obspy/io/gcf/core.py", line 60, in _read_gcf ---------------------------------------------------------------------- File "/testbed/obspy/io/gcf/core.py", line 82, in obspy.io.gcf.core._read_gcf Failed example: st = read("/path/to/20160603_1955n.gcf", format="GCF") Exception raised: Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 1334, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.gcf.core._read_gcf[1]>", line 1, in <module> st = read("/path/to/20160603_1955n.gcf", format="GCF") File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 463, in _read_from_plugin list_obj = read_format(filename, **kwargs) File "/testbed/obspy/io/gcf/core.py", line 93, in _read_gcf hd = libgcf.read(f, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 162, in read return read_data_block(f, headonly=False, **kwargs) File "/testbed/obspy/io/gcf/libgcf.py", line 95, in read_data_block sysid = decode36(sysid) File "/testbed/obspy/io/gcf/libgcf.py", line 57, in decode36 c = chr(imed + ord('0')) TypeError: only integer scalar arrays can be converted to a scalar index
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gcf.__init__ File "/testbed/obspy/io/gcf/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/gcf/__init__.py", line 21, in obspy.io.gcf.__init__ Failed example: st = read("/path/to/20160603_1955n.gcf") Exception raised: Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 1334, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.io.gcf.__init__[1]>", line 1, in <module> st = read("/path/to/20160603_1955n.gcf") File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 299, in _map_example_filename return func(*args, **kwargs) File "/testbed/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 209, in uncompress_file result = func(filename, *args, **kwargs) File "/testbed/obspy/core/stream.py", line 272, in _read stream, format = _read_from_plugin('waveform', filename, format=format, File "/testbed/obspy/core/util/base.py", line 443, in _read_from_plugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /testbed/obspy/io/gcf/tests/data/20160603_1955n.gcf
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gse2.__init__ File "/testbed/obspy/io/gse2/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/gse2/__init__.py", line 79, in obspy.io.gse2.__init__ Failed example: print(st[0].data) Expected: [ 12 -10 16 ..., 8 0 -40] Got: [ 12 -10 16 ... 8 0 -40]
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__ File "/testbed/obspy/io/kinemetrics/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/kinemetrics/__init__.py", line 100, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].data) Expected: [-0.02446475 -0.02453492 -0.02446709 ..., -0.02452556 -0.02450685 -0.02442499] Got: [-0.02446475 -0.02453492 -0.02446709 ... -0.02452556 -0.02450685 -0.02442499]
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.mseed.__init__ File "/testbed/obspy/io/mseed/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/mseed/__init__.py", line 65, in obspy.io.mseed.__init__ Failed example: print(st[0].data) Expected: [2787 2776 2774 ..., 2850 2853 2853] Got: [2787 2776 2774 ... 2850 2853 2853]
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 311, in test_drop_not_implemented_packets self.assertEqual(len(w), 2) AssertionError: 5 != 2
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 342, in test_missing_event_trailer_packet self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 278, in test_read_file_perturbed_packet_sequence self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 179, in test_read_reftek130_no_component_codes_specified self.assertEqual(len(w), 8) AssertionError: 11 != 8
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 367, in test_truncated_last_packet self.assertEqual(len(w), 2) AssertionError: 5 != 2
Traceback (most recent call last): File "/testbed/obspy/io/reftek/tests/test_core.py", line 243, in test_warning_disturbed_packet_sequence self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "/testbed/obspy/io/sac/tests/test_core.py", line 827, in test_decimate_resample tr.decimate(2) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 231, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 1771, in decimate self.filter('lowpass_cheby_2', freq=freq, maxorder=12) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 231, in _add_processing_info result = func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/decorator.py", line 235, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/util/decorator.py", line 233, in raise_if_masked return func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 1480, in filter func = _get_function_from_entry_point('filter', type) File "/testbed/obspy/core/util/base.py", line 321, in _get_function_from_entry_point func = load_entry_point(entry_point.dist.key, 'obspy.plugin.%s' % (group), File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 479, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2861, in load_entry_point return ep.load() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2465, in load return self.resolve() File "/usr/local/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2471, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.sactrace.SACTrace.read File "/testbed/obspy/io/sac/sactrace.py", line 1103, in read ---------------------------------------------------------------------- File "/testbed/obspy/io/sac/sactrace.py", line 1141, in obspy.io.sac.sactrace.SACTrace.read Failed example: sac.data # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ -8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, ... 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32) Got: array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01, 5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00, 9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01, -1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01, -9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01, -5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01, 5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00, 9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01, -4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01, -9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01, -5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01, 5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00, 9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01, -7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01, -9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01, -5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01, 5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00, 9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01, -9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01, -9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01, -5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01, 5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32)
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.__init__ File "/testbed/obspy/io/sac/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/sac/__init__.py", line 59, in obspy.io.sac.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ -8.74227766e-08, -3.09016973e-01,..., 3.09007347e-01], dtype=float32) Got: array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01, 5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00, 9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01, -1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01, -9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01, -5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01, 5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00, 9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01, -4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01, -9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01, -5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01, 5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00, 9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01, -7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01, -9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01, -5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01, 5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00, 9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01, -9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01, -9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01, -5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01, 5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32)
Traceback (most recent call last): File "/testbed/obspy/io/seg2/tests/test_seg2.py", line 85, in test_read_data_format_2 self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.seisan.__init__ File "/testbed/obspy/io/seisan/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/seisan/__init__.py", line 52, in obspy.io.seisan.__init__ Failed example: print(st[0].data) Expected: [ 464 492 519 ..., -7042 -6960 -6858] Got: [ 464 492 519 ... -7042 -6960 -6858]
Traceback (most recent call last): File "/usr/local/lib/python3.9/doctest.py", line 2205, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sh.__init__ File "/testbed/obspy/io/sh/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/io/sh/__init__.py", line 55, in obspy.io.sh.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ... -4.03387604e+01, -3.99515305e+01, -3.95423012e+01], dtype=float32) Got: array([ 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 9.999987e-05, 3.338366e+01, 6.641345e+01, 9.907165e+01, 1.313408e+02, 1.632039e+02, 1.946445e+02, 2.256463e+02, 2.561938e+02, 2.862716e+02, 3.158649e+02, 3.449595e+02, 3.735416e+02, 4.015977e+02, 4.291148e+02, 4.560807e+02, 4.824833e+02, 5.083111e+02, 5.335532e+02, 5.581991e+02, 5.822387e+02, 6.056627e+02, 6.284618e+02, 6.506277e+02, 6.721521e+02, 6.930278e+02, 7.132476e+02, 7.328047e+02, 7.516935e+02, 7.699081e+02, 7.874437e+02, 8.042954e+02, 8.204593e+02, 8.359318e+02, 8.507097e+02, 8.647904e+02, 8.781716e+02, 8.908519e+02, 9.028298e+02, 9.141045e+02, 9.246761e+02, 9.345443e+02, 9.437100e+02, 9.521742e+02, 9.599384e+02, 9.670044e+02, 9.733748e+02, 9.790523e+02, 9.840402e+02, 9.883419e+02, 9.919617e+02, 9.949040e+02, 9.971735e+02, 9.987755e+02, 9.997157e+02, 1.000000e+03, 9.996348e+02, 9.986266e+02, 9.969827e+02, 9.947104e+02, 9.918174e+02, 9.883117e+02, 9.842017e+02, 9.794961e+02, 9.742039e+02, 9.683343e+02, 9.618969e+02, 9.549014e+02, 9.473580e+02, 9.392769e+02, 9.306688e+02, 9.215444e+02, 9.119149e+02, 9.017914e+02, 8.911855e+02, 8.801086e+02, 8.685729e+02, 8.565902e+02, 8.441728e+02, 8.313329e+02, 8.180833e+02, 8.044363e+02, 7.904048e+02, 7.760018e+02, 7.612402e+02, 7.461334e+02, 7.306941e+02, 7.149359e+02, 6.988723e+02, 6.825165e+02, 6.658820e+02, 6.489823e+02, 6.318311e+02, 6.144420e+02, 5.968284e+02, 5.790043e+02, 5.609829e+02, 5.427780e+02, 5.244034e+02, 5.058723e+02, 4.871986e+02, 4.683954e+02, 4.494765e+02, 4.304553e+02, 4.113447e+02, 3.921585e+02, 3.729093e+02, 3.536106e+02, 3.342753e+02, 3.149161e+02, 2.955461e+02, 2.761774e+02, 2.568228e+02, 2.374949e+02, 2.182056e+02, 1.989673e+02, 1.797915e+02, 1.606902e+02, 1.416753e+02, 1.227577e+02, 1.039492e+02, 8.526044e+01, 6.670248e+01, 4.828622e+01, 3.002179e+01, 1.191969e+01, -6.009835e+00, -2.375724e+01, -4.131253e+01, -5.866658e+01, -7.581001e+01, -9.273368e+01, -1.094291e+02, -1.258876e+02, -1.421010e+02, -1.580611e+02, -1.737601e+02, -1.891906e+02, -2.043451e+02, -2.192169e+02, -2.337988e+02, -2.480843e+02, -2.620674e+02, -2.757417e+02, -2.891018e+02, -3.021419e+02, -3.148568e+02, -3.272417e+02, -3.392915e+02, -3.510022e+02, -3.623694e+02, -3.733889e+02, -3.840574e+02, -3.943714e+02, -4.043277e+02, -4.139235e+02, -4.231560e+02, -4.320230e+02, -4.405224e+02, -4.486523e+02, -4.564113e+02, -4.637978e+02, -4.708109e+02, -4.774497e+02, -4.837136e+02, -4.896024e+02, -4.951160e+02, -5.002545e+02, -5.050183e+02, -5.094081e+02, -5.134249e+02, -5.170696e+02, -5.203436e+02, -5.232486e+02, -5.257861e+02, -5.279585e+02, -5.297678e+02, -5.312165e+02, -5.323072e+02, -5.330428e+02, -5.334263e+02, -5.334611e+02, -5.331505e+02, -5.324981e+02, -5.315079e+02, -5.301838e+02, -5.285301e+02, -5.265509e+02, -5.242509e+02, -5.216347e+02, -5.187073e+02, -5.154734e+02, -5.119384e+02, -5.081075e+02, -5.039861e+02, -4.995798e+02, -4.948942e+02, -4.899351e+02, -4.847086e+02, -4.792205e+02, -4.734773e+02, -4.674849e+02, -4.612498e+02, -4.547784e+02, -4.480773e+02, -4.411532e+02, -4.340126e+02, -4.266623e+02, -4.191092e+02, -4.113603e+02, -4.034225e+02, -3.953027e+02, -3.870081e+02, -3.785457e+02, -3.699226e+02, -3.611463e+02, -3.522235e+02, -3.431619e+02, -3.339684e+02, -3.246504e+02, -3.152153e+02, -3.056700e+02, -2.960221e+02, -2.862787e+02, -2.764471e+02, -2.665348e+02, -2.565485e+02, -2.464957e+02, -2.363835e+02, -2.262190e+02, -2.160095e+02, -2.057618e+02, -1.954829e+02, -1.851799e+02, -1.748596e+02, -1.645292e+02, -1.541949e+02, -1.438638e+02, -1.335424e+02, -1.232373e+02, -1.129553e+02, -1.027023e+02, -9.248491e+01, -8.230938e+01, -7.218187e+01, -6.210864e+01, -5.209529e+01, -4.214787e+01, -3.227218e+01, -2.247388e+01, -1.275873e+01, -3.131806e+00, 6.401351e+00, 1.583551e+01, 2.516556e+01, 3.438632e+01, 4.349327e+01, 5.248148e+01, 6.134630e+01, 7.008325e+01, 7.868778e+01, 8.715596e+01, 9.548351e+01, 1.036665e+02, 1.117009e+02, 1.195831e+02, 1.273096e+02, 1.348769e+02, 1.422817e+02, 1.495208e+02, 1.565910e+02, 1.634897e+02, 1.702141e+02, 1.767615e+02, 1.831294e+02, 1.893154e+02, 1.953175e+02, 2.011336e+02, 2.067617e+02, 2.122001e+02, 2.174471e+02, 2.225013e+02, 2.273613e+02, 2.320260e+02, 2.364941e+02, 2.407648e+02, 2.448374e+02, 2.487110e+02, 2.523853e+02, 2.558598e+02, 2.591343e+02, 2.622086e+02, 2.650827e+02, 2.677568e+02, 2.702311e+02, 2.725060e+02, 2.745821e+02, 2.764599e+02, 2.781403e+02, 2.796240e+02, 2.809121e+02, 2.820058e+02, 2.829061e+02, 2.836146e+02, 2.841326e+02, 2.844617e+02, 2.846035e+02, 2.845599e+02, 2.843326e+02, 2.839238e+02, 2.833354e+02, 2.825696e+02, 2.816287e+02, 2.805150e+02, 2.792309e+02, 2.777791e+02, 2.761621e+02, 2.743825e+02, 2.724432e+02, 2.703470e+02, 2.680969e+02, 2.656956e+02, 2.631466e+02, 2.604527e+02, 2.576170e+02, 2.546431e+02, 2.515340e+02, 2.482932e+02, 2.449242e+02, 2.414301e+02, 2.378148e+02, 2.340815e+02, 2.302341e+02, 2.262761e+02, 2.222110e+02, 2.180428e+02, 2.137749e+02, 2.094114e+02, 2.049558e+02, 2.004119e+02, 1.957837e+02, 1.910748e+02, 1.862894e+02, 1.814311e+02, 1.765036e+02, 1.715112e+02, 1.664573e+02, 1.613463e+02, 1.561818e+02, 1.509675e+02, 1.457076e+02, 1.404056e+02, 1.350658e+02, 1.296917e+02, 1.242871e+02, 1.188560e+02, 1.134019e+02, 1.079290e+02, 1.024407e+02, 9.694056e+01, 9.143266e+01, 8.592022e+01, 8.040728e+01, 7.489719e+01, 6.939329e+01, 6.389946e+01, 5.841878e+01, 5.295506e+01, 4.751145e+01, 4.209107e+01, 3.669762e+01, 3.133389e+01, 2.600347e+01, 2.070927e+01, 1.545415e+01, 1.024153e+01, 5.073956e+00, -4.528630e-02, -5.113564e+00, -1.012829e+01, -1.508639e+01, -1.998558e+01, -2.482291e+01, -2.959606e+01, -3.430275e+01, -3.894025e+01, -4.350659e+01, -4.799920e+01, -5.241605e+01, -5.675522e+01, -6.101436e+01, -6.519180e+01, -6.928538e+01, -7.329341e+01, -7.721430e+01, -8.104610e+01, -8.478751e+01, -8.843670e+01, -9.199241e+01, -9.545336e+01, -9.881802e+01, -1.020854e+02, -1.052542e+02, -1.083233e+02, -1.112920e+02, -1.141590e+02, -1.169238e+02, -1.195853e+02, -1.221431e+02, -1.245964e+02, -1.269447e+02, -1.291877e+02, -1.313246e+02, -1.333554e+02, -1.352798e+02, -1.370975e+02, -1.388086e+02, -1.404127e+02, -1.419101e+02, -1.433009e+02, -1.445851e+02, -1.457630e+02, -1.468349e+02, -1.478013e+02, -1.486624e+02, -1.494188e+02, -1.500710e+02, -1.506197e+02, -1.510655e+02, -1.514092e+02, -1.516516e+02, -1.517935e+02, -1.518357e+02, -1.517794e+02, -1.516255e+02, -1.513750e+02, -1.510292e+02, -1.505891e+02, -1.500560e+02, -1.494311e+02, -1.487158e+02, -1.479115e+02, -1.470195e+02, -1.460413e+02, -1.449784e+02, -1.438323e+02, -1.426046e+02, -1.412969e+02, -1.399108e+02, -1.384480e+02, -1.369102e+02, -1.352992e+02, -1.336167e+02, -1.318646e+02, -1.300446e+02, -1.281586e+02, -1.262085e+02, -1.241962e+02, -1.221236e+02, -1.199925e+02, -1.178052e+02, -1.155633e+02, -1.132691e+02, -1.109245e+02, -1.085314e+02, -1.060920e+02, -1.036081e+02, -1.010821e+02, -9.851581e+01, -9.591125e+01, -9.327070e+01, -9.059598e+01, -8.788938e+01, -8.515289e+01, -8.238844e+01, -7.959832e+01, -7.678439e+01, -7.394889e+01, -7.109379e+01, -6.822102e+01, -6.533281e+01, -6.243098e+01, -5.951776e+01, -5.659503e+01, -5.366467e+01, -5.072888e+01, -4.778937e+01, -4.484832e+01, -4.190754e+01, -3.896879e+01, -3.603420e+01, -3.310539e+01, -3.018443e+01, -2.727300e+01, -2.437280e+01, -2.148581e+01, -1.861353e+01, -1.575791e+01, -1.292050e+01, -1.010287e+01, -7.306848e+00, -4.533814e+00, -1.785544e+00, 9.365342e-01, 3.631025e+00, 6.296255e+00, 8.930993e+00, 1.153364e+01, 1.410293e+01, 1.663764e+01, 1.913626e+01, 2.159774e+01, 2.402068e+01, 2.640396e+01, 2.874655e+01, 3.104715e+01, 3.330486e+01, 3.551849e+01, 3.768711e+01, 3.980988e+01, 4.188569e+01, 4.391383e+01, 4.589332e+01, 4.782344e+01, 4.970349e+01, 5.153262e+01, 5.331029e+01, 5.503572e+01, 5.670840e+01, 5.832783e+01, 5.989335e+01, 6.140462e+01, 6.286109e+01, 6.426241e+01, 6.560828e+01, 6.689828e+01, 6.813223e+01, 6.930978e+01, 7.043080e+01, 7.149516e+01, 7.250264e+01, 7.345325e+01, 7.434686e+01, 7.518349e+01, 7.596322e+01, 7.668604e+01, 7.735207e+01, 7.796144e+01, 7.851433e+01, 7.901096e+01, 7.945152e+01, 7.983635e+01, 8.016570e+01, 8.043991e+01, 8.065939e+01, 8.082452e+01, 8.093573e+01, 8.099349e+01, 8.099830e+01, 8.095068e+01, 8.085117e+01, 8.070037e+01, 8.049888e+01, 8.024734e+01, 7.994638e+01, 7.959673e+01, 7.919907e+01, 7.875417e+01, 7.826274e+01, 7.772560e+01, 7.714354e+01, 7.651736e+01, 7.584795e+01, 7.513612e+01, 7.438281e+01, 7.358889e+01, 7.275525e+01, 7.188288e+01, 7.097267e+01, 7.002564e+01, 6.904277e+01, 6.802498e+01, 6.697335e+01, 6.588885e+01, 6.477255e+01, 6.362548e+01, 6.244863e+01, 6.124314e+01, 6.001001e+01, 5.875037e+01, 5.746527e+01, 5.615575e+01, 5.482299e+01, 5.346798e+01, 5.209193e+01, 5.069588e+01, 4.928088e+01, 4.784815e+01, 4.639867e+01, 4.493367e+01, 4.345417e+01, 4.196125e+01, 4.045609e+01, 3.893969e+01, 3.741326e+01, 3.587782e+01, 3.433439e+01, 3.278417e+01, 3.122812e+01, 2.966741e+01, 2.810305e+01, 2.653602e+01, 2.496747e+01, 2.339833e+01, 2.182973e+01, 2.026262e+01, 1.869794e+01, 1.713679e+01, 1.558004e+01, 1.402876e+01, 1.248384e+01, 1.094616e+01, 9.416759e+00, 7.896429e+00, 6.386178e+00, 4.886823e+00, 3.399170e+00, 1.924178e+00, 4.625617e-01, -9.847549e-01, -2.417034e+00, -3.833552e+00, -5.233443e+00, -6.616073e+00, -7.980615e+00, -9.326418e+00, -1.065285e+01, -1.195914e+01, -1.324475e+01, -1.450896e+01, -1.575120e+01, -1.697090e+01, -1.816757e+01, -1.934050e+01, -2.048925e+01, -2.161332e+01, -2.271222e+01, -2.378559e+01, -2.483281e+01, -2.585355e+01, -2.684742e+01, -2.781403e+01, -2.875311e+01, -2.966418e+01, -3.054700e+01, -3.140128e+01, -3.222675e+01, -3.302323e+01, -3.379036e+01, -3.452802e+01, -3.523600e+01, -3.591415e+01, -3.656237e+01, -3.718045e+01, -3.776833e+01, -3.832594e+01, -3.885322e+01, -3.935016e+01, -3.981667e+01, -4.025278e+01, -4.065853e+01, -4.103395e+01, -4.137911e+01, -4.169406e+01, -4.197891e+01, -4.223377e+01, -4.245879e+01, -4.265413e+01, -4.281992e+01, -4.295636e+01, -4.306367e+01, -4.314207e+01, -4.319178e+01, -4.321307e+01, -4.320619e+01, -4.317144e+01, -4.310912e+01, -4.301954e+01, -4.290302e+01, -4.275992e+01, -4.259060e+01, -4.239541e+01, -4.217473e+01, -4.192899e+01, -4.165858e+01, -4.136391e+01, -4.104543e+01, -4.070354e+01, -4.033876e+01, -3.995153e+01, -3.954230e+01], dtype=float32)
Traceback (most recent call last): File "/testbed/obspy/io/xseed/tests/test_parser.py", line 689, in test_rotation_to_zne st_r = p.rotate_to_zne(st) File "/testbed/obspy/io/xseed/parser.py", line 1198, in rotate_to_zne from obspy.signal.rotate import rotate2zne File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
>>> Cannot import test suite for module obspy.realtime due to: -------------------------------------------------------------- File "/testbed/runtests.py", line 22, in <module> main(argv=sys.argv[1:]) File "/testbed/obspy/scripts/runtests.py", line 775, in main errors = run(argv, interactive) File "/testbed/obspy/scripts/runtests.py", line 739, in run return run_tests(verbosity, args.tests, report, args.log, args.server, File "/testbed/obspy/scripts/runtests.py", line 576, in run_tests suites, status, import_failures = _get_suites(verbosity, tests) File "/testbed/obspy/scripts/runtests.py", line 178, in _get_suites suite.append(ut.loadTestsFromName(test, None)) File "/usr/local/lib/python3.9/unittest/loader.py", line 205, in loadTestsFromName test = obj() File "/testbed/obspy/realtime/tests/__init__.py", line 17, in suite add_unittests(suite, MODULE_NAME) File "/testbed/obspy/core/util/testing.py", line 71, in add_unittests _module = __import__(_module_name, File "/testbed/obspy/realtime/tests/test_rttrace.py", line 19, in <module> import obspy.signal.filter File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
ImportError: Failed to import test module: signal Traceback (most recent call last): File "/usr/local/lib/python3.9/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/testbed/obspy/signal/__init__.py", line 201, in <module> from .spectral_estimation import PPSD File "/testbed/obspy/signal/spectral_estimation.py", line 44, in <module> from obspy.signal.invsim import cosine_taper File "/testbed/obspy/signal/invsim.py", line 38, in <module> from obspy.signal import util File "/testbed/obspy/signal/util.py", line 21, in <module> from scipy import fftpack, fix, signal ImportError: cannot import name 'fix' from 'scipy' (/usr/local/lib/python3.9/site-packages/scipy/__init__.py)
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 77, in test_cartesian_many_phases with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 88, in test_cartesian_many_phases_buried_station with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 100, in test_cartesian_many_phases_no_other_way with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 110, in test_cartesian_multiple_station_markers with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 68, in test_spherical_diff_phases with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 28, in test_spherical_many_phases with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 39, in test_spherical_many_phases_buried_station with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 51, in test_spherical_many_phases_no_other_way with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Traceback (most recent call last): File "/testbed/obspy/taup/tests/test_plotting.py", line 61, in test_spherical_more_then_360_degrees with ImageComparison(self.image_dir, File "/testbed/obspy/core/util/testing.py", line 360, in __enter__ rcParams['text.hinting'] = False File "/usr/local/lib/python3.9/site-packages/matplotlib/__init__.py", line 741, in __setitem__ raise ValueError(f"Key {key}: {ve}") from None ValueError: Key text.hinting: False is not a valid value for text.hinting; supported values are ['default', 'no_autohint', 'force_autohint', 'no_hinting', 'auto', 'native', 'either', 'none']
Skipped tests (12)
| Submodule | Test | Skip message |
|---|---|---|
| geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
| geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
| io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
| io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | gdal not installed or version is too old |
| io.shapefile | test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | gdal not installed or version is too old |
| io.shapefile | test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | gdal not installed or version is too old |
| io.shapefile | test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | gdal not installed or version is too old |
| io.wav | test_rescale_on_write (obspy.io.wav.tests.test_core.CoreTestCase) | needs a recent NumPy version |
| taup | test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
| taup | test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
| taup | test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) | Module geographiclib is not installed |
| taup | test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) | Module geographiclib is not installed or too old. |
Slowest tests (20)
| Runtime | Test |
|---|---|
| 10.160s | test_kennet_ak135_ttime_tables_s_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 9.930s | test_kennet_ak135_ttime_tables_p_shallow (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 8.823s | test_kennet_ak135_ttime_tables_p_deep (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 7.372s | test_kennet_ak135_ttime_tables_s_deep (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 5.304s | test_kennet_ak135_ttime_tables_pkikp (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 4.883s | test_kennet_ak135_ttime_tables_pcp (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 4.705s | test_kennet_ak135_ttime_tables_scs (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 3.525s | test_kennet_ak135_ttime_tables_scp (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 3.048s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
| 1.560s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 1.396s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
| 1.360s | __init__ (obspy.taup) |
| 1.205s | test_read_from_sds_with_wildcarded_seed_ids (obspy.clients.filesystem.tests.test_sds.SDSTestCase) |
| 0.796s | test_read_from_sds (obspy.clients.filesystem.tests.test_sds.SDSTestCase) |
| 0.661s | __init__ (obspy.taup.tau.TauPyModel) |
| 0.592s | test_surface_wave_ttimes (obspy.taup.tests.test_tau.TauPyModelTestCase) |
| 0.591s | test_reading_and_writing_via_the_stats_attribute (obspy.io.mseed.tests.test_mseed_reading_and_writing.MSEEDReadingAndWritingTestCase) |
| 0.493s | test_long_year_range (obspy.io.mseed.tests.test_mseed_special_issues.MSEEDSpecialIssueTestCase) |
| 0.464s | test_read_ah (obspy.io.ah.tests.test_core.CoreTestCase) |
| 0.361s | test_shoot_middle_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |