#154438 Report by node test-container covering 571 tests from 1 modules resulted into 24 errors
Report
- ObsPy version
- 1.0.3.post0+1891.g43fbdd5c47.…
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 16.0 sec
- Report date/time
- March 8, 2026, 9:15 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- test-container
- Processor
- x86_64
- Python Compiler
- GCC 9.3.0
- Python Implementation
- CPython
- Python Version
- 3.5.10
- Release
- 4.18.0-147.mt20221104.486.el8_1.x86_64
- System
- Linux
- Version
- #1 SMP Wed Nov 2 11:07:41 CST 2022
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- future
- 1.0.0
- geographiclib
- ---
- lxml.etree
- 5.0.2
- m2crypto
- ---
- matplotlib
- 3.0.3
- mock
- 3.0.5
- mpl_toolkits.basemap
- ---
- numpy
- 1.18.5
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.25.1
- scipy
- 1.4.1
- setuptools
- 39.2.0
- shapefile
- ---
- sqlalchemy
- 1.3.24
Modules (1)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.clients.arclink | Not tested | - | - | - | - | - |
| obspy.clients.earthworm | Not tested | - | - | - | - | - |
| obspy.clients.fdsn | Not tested | - | - | - | - | - |
| obspy.clients.filesystem | Not tested | - | - | - | - | - |
| 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 | 24 | 571 | 548 | 23 | 15.96s | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
| obspy.db | Not tested | - | - | - | - | - |
| obspy.geodetics | Not tested | - | - | - | - | - |
| obspy.imaging | Not tested | - | - | - | - | - |
| obspy.io.ah | Not tested | - | - | - | - | - |
| obspy.io.arclink | Not tested | - | - | - | - | - |
| obspy.io.ascii | Not tested | - | - | - | - | - |
| obspy.io.cmtsolution | Not tested | - | - | - | - | - |
| obspy.io.cnv | Not tested | - | - | - | - | - |
| obspy.io.css | Not tested | - | - | - | - | - |
| obspy.io.gcf | Not tested | - | - | - | - | - |
| obspy.io.gse2 | Not tested | - | - | - | - | - |
| obspy.io.json | Not tested | - | - | - | - | - |
| obspy.io.kinemetrics | Not tested | - | - | - | - | - |
| obspy.io.kml | Not tested | - | - | - | - | - |
| obspy.io.mseed | Not tested | - | - | - | - | - |
| obspy.io.ndk | Not tested | - | - | - | - | - |
| obspy.io.nied | Not tested | - | - | - | - | - |
| obspy.io.nlloc | Not tested | - | - | - | - | - |
| obspy.io.nordic | Not tested | - | - | - | - | - |
| obspy.io.pdas | Not tested | - | - | - | - | - |
| obspy.io.pde | Not tested | - | - | - | - | - |
| obspy.io.quakeml | Not tested | - | - | - | - | - |
| obspy.io.reftek | Not tested | - | - | - | - | - |
| obspy.io.sac | Not tested | - | - | - | - | - |
| obspy.io.scardec | Not tested | - | - | - | - | - |
| obspy.io.seg2 | Not tested | - | - | - | - | - |
| obspy.io.segy | Not tested | - | - | - | - | - |
| obspy.io.seisan | Not tested | - | - | - | - | - |
| obspy.io.seiscomp | Not tested | - | - | - | - | - |
| obspy.io.sh | Not tested | - | - | - | - | - |
| obspy.io.shapefile | Not tested | - | - | - | - | - |
| obspy.io.stationtxt | Not tested | - | - | - | - | - |
| obspy.io.stationxml | Not tested | - | - | - | - | - |
| obspy.io.wav | Not tested | - | - | - | - | - |
| obspy.io.win | Not tested | - | - | - | - | - |
| obspy.io.xseed | Not tested | - | - | - | - | - |
| obspy.io.y | Not tested | - | - | - | - | - |
| obspy.io.zmap | Not tested | - | - | - | - | - |
| obspy.realtime | Not tested | - | - | - | - | - |
| obspy.scripts | Not tested | - | - | - | - | - |
| obspy.signal | Not tested | - | - | - | - | - |
| obspy.taup | Not tested | - | - | - | - | - |
| Summary | 24 | 571 | 548 | 23 | 15.96s | 24 |
Tracebacks (24)
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 1732, in test_remove_polynomial_response tr.remove_response() File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 2585, in test_dtype_is_not_unnecessarily_changed tr_int32.copy().remove_response(inventory=inv).data.dtype, File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_station.py", line 76, in test_response_plot_degrees outfile=ic.name) File "/testbed/obspy/core/inventory/station.py", line 487, in plot show=False, outfile=None) File "/testbed/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 1711, in test_remove_response tr2.remove_response(pre_filt=(0.1, 0.5, 30, 50)) File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.resample File "/testbed/obspy/core/trace.py", line 229, in resample ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 281, in obspy.core.trace.Trace.resample Failed example: tr.data # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Expected: array([ 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 ... Got: array([0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 , 0.26903012, 0.3232233 , 0.40432914, 0.5 , 0.59567086, 0.6767767 , 0.73096988, 0.75 , 0.73096988, 0.6767767 , 0.59567086, 0.5 , 0.40432914, 0.3232233 , 0.26903012, 0.25 , 0.26903012, 0.3232233 , 0.40432914, 0.5 , 0.59567086, 0.6767767 , 0.73096988, 0.75 , 0.73096988, 0.6767767 , 0.59567086])
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_network.py", line 145, in test_response_plot time=t, outfile=ic.name) File "/testbed/obspy/core/inventory/network.py", line 656, in plot_response outfile=None) File "/testbed/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_inventory.py", line 193, in test_response_plot station="[WR]*", time=t, outfile=ic.name) File "/testbed/obspy/core/inventory/inventory.py", line 875, in plot_response outfile=None) File "/testbed/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.stream.Stream.remove_response File "/testbed/obspy/core/stream.py", line 3031, in remove_response ---------------------------------------------------------------------- File "/testbed/obspy/core/stream.py", line 3042, in obspy.core.stream.Stream.remove_response Failed example: st.remove_response(inventory=inv) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 1321, in __run compileflags, 1), test.globs) File "<doctest obspy.core.stream.Stream.remove_response[3]>", line 1, in <module> st.remove_response(inventory=inv) # doctest: +ELLIPSIS File "/testbed/obspy/core/stream.py", line 3062, in remove_response tr.remove_response(*args, **kwargs) File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_utcdatetime.py", line 52, in test_from_numpy_string self.assertEqual(dt, UTCDateTime(2009, 7, 1, 12, 12, 12)) AssertionError: <obspy.core.utcdatetime.UTCDateTime object at 0x7f8d63cacd68> != UTCDateTime(2009, 7, 1, 12, 12, 12)
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_stream.py", line 2206, in test_remove_response tr.remove_response(pre_filt=(0.1, 0.5, 30, 50)) File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_response.py", line 146, in test_response_plot outfile=ic.name) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_channel.py", line 61, in test_response_plot cha.plot(0.005, outfile=ic.name) File "/testbed/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_station.py", line 56, in test_response_plot sta.plot(0.05, channel="*[NE]", outfile=ic.name) File "/testbed/obspy/core/inventory/station.py", line 487, in plot show=False, outfile=None) File "/testbed/obspy/core/inventory/channel.py", line 366, in plot outfile=outfile) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.__init__ File "/testbed/obspy/core/__init__.py", line 11, in __init__ ---------------------------------------------------------------------- File "/testbed/obspy/core/__init__.py", line 72, in obspy.core.__init__ Failed example: tr.data Expected: array([ 0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204, 0.44196924]) Got: array([0. , 0.00694644, 0.07597424, ..., 1.93449584, 0.98196204, 0.44196924])
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.times File "/testbed/obspy/core/trace.py", line 2424, in times ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 2446, in obspy.core.trace.Trace.times Failed example: tr.times() Expected: array([ 0.00000000e+00, 1.00000000e-02, 2.00000000e-02, ..., 2.99700000e+01, 2.99800000e+01, 2.99900000e+01]) Got: array([0.000e+00, 1.000e-02, 2.000e-02, ..., 2.997e+01, 2.998e+01, 2.999e+01]) ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 2450, in obspy.core.trace.Trace.times Failed example: tr.times(reftime=UTCDateTime("2009-01-01T00")) Expected: array([ 20305203. , 20305203.01, 20305203.02, ..., 20305232.97, 20305232.98, 20305232.99]) Got: array([20305203. , 20305203.01, 20305203.02, ..., 20305232.97, 20305232.98, 20305232.99]) ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 2462, in obspy.core.trace.Trace.times Failed example: tr.times("timestamp") Expected: array([ 1.25107320e+09, 1.25107320e+09, 1.25107320e+09, ..., 1.25107323e+09, 1.25107323e+09, 1.25107323e+09]) Got: array([1.25107320e+09, 1.25107320e+09, 1.25107320e+09, ..., 1.25107323e+09, 1.25107323e+09, 1.25107323e+09]) ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 2466, in obspy.core.trace.Trace.times Failed example: tr.times("matplotlib") Expected: array([ 733643.01392361, 733643.01392373, 733643.01392384, ..., 733643.01427049, 733643.0142706 , 733643.01427072]) Got: array([733643.01392361, 733643.01392373, 733643.01392384, ..., 733643.01427049, 733643.0142706 , 733643.01427072])
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.util.base.create_empty_data_chunk File "/testbed/obspy/core/util/base.py", line 126, in create_empty_data_chunk ---------------------------------------------------------------------- File "/testbed/obspy/core/util/base.py", line 142, in obspy.core.util.base.create_empty_data_chunk Failed example: create_empty_data_chunk(6, np.complex128, 0) Expected: array([ 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j]) Got: array([0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j, 0.+0.j]) ---------------------------------------------------------------------- File "/testbed/obspy/core/util/base.py", line 145, in obspy.core.util.base.create_empty_data_chunk Failed example: create_empty_data_chunk( 3, 'f') # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: masked_array(data = [-- -- --], mask = ..., ...) Got: masked_array(data=[--, --, --], mask=[ True, True, True], fill_value=1e+20, dtype=float32)
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.stream.Stream.std File "/testbed/obspy/core/stream.py", line 2470, in std ---------------------------------------------------------------------- File "/testbed/obspy/core/stream.py", line 2486, in obspy.core.stream.Stream.std Failed example: st.std() Expected: [4.2614551505325036, 4.4348618918744247] Got: [4.261455150532504, 4.434861891874425]
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.remove_response File "/testbed/obspy/core/trace.py", line 229, in remove_response ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 270, in obspy.core.trace.Trace.remove_response Failed example: tr.remove_response(inventory=inv) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 1321, in __run compileflags, 1), test.globs) File "<doctest obspy.core.trace.Trace.remove_response[4]>", line 1, in <module> tr.remove_response(inventory=inv) # doctest: +ELLIPSIS File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 1371, in test_taper_length self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 2294, in test_remove_response_plot water_level=60, end_stage=None, plot=ic.name) File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 117, in linspace num = operator.index(num) TypeError: 'float' object cannot be interpreted as an integer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/testbed/obspy/core/tests/test_response.py", line 166, in test_response_plot_degrees plot_degrees=True, outfile=ic.name) File "/testbed/obspy/core/inventory/response.py", line 1569, in plot end_stage=end_stage) File "/testbed/obspy/core/inventory/response.py", line 1428, in get_evalresp_response freqs = np.linspace(0, fy, nfft // 2 + 1).astype(np.float64) File "<__array_function__ internals>", line 6, in linspace File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/numpy/core/function_base.py", line 121, in linspace .format(type(num))) TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Traceback (most recent call last): File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.trace.Trace.std File "/testbed/obspy/core/trace.py", line 1823, in std ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 1835, in obspy.core.trace.Trace.std Failed example: tr.std() Expected: 4.2614551505325036 Got: 4.261455150532504 ---------------------------------------------------------------------- File "/testbed/obspy/core/trace.py", line 1838, in obspy.core.trace.Trace.std Failed example: tr.std() Expected: 4.4348618918744247 Got: 4.434861891874425
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 1341, in test_taper_onesided self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "/testbed/obspy/core/tests/test_trace.py", line 1782, in test_processing_info_remove_response_and_sensitivity tr.remove_response() File "/home/circleci/.pyenv/versions/3.5.10/lib/python3.5/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/testbed/obspy/core/trace.py", line 232, in _add_processing_info result = func(*args, **kwargs) File "/testbed/obspy/core/trace.py", line 2710, in remove_response limit_numpy_fft_cache() File "/testbed/obspy/core/util/misc.py", line 608, in limit_numpy_fft_cache if not hasattr(np.fft.fftpack, cache): AttributeError: module 'numpy.fft' has no attribute 'fftpack'
Skipped tests (23)
| Submodule | Test | Skip message |
|---|---|---|
| core | test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
| core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
| core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
| core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) | basemap not installed |
| core | test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
| core | test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
| core | test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) | cartopy not installed |
| core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
| core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
| core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
| core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) | basemap not installed |
| core | test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
| core | test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
| core | test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
| core | test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase) | Cartopy not installed or too old |
| core | test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) | basemap not installed |
| core | test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) | Formatting tests require at least flake8 3.0. |
| core | test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
| core | test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
| core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) | basemap not installed |
| core | test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
| core | test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
| core | test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) | cartopy not installed |
Slowest tests (20)
| Runtime | Test |
|---|---|
| 2.400s | read (obspy.core.stream) |
| 1.274s | test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase) |
| 0.516s | test_add (obspy.core.tests.test_stream.StreamTestCase) |
| 0.513s | test_read_thread_safe (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.501s | test_evalresp_with_output_from_seed (obspy.core.tests.test_response.ResponseTestCase) |
| 0.485s | test_interpolation_arguments (obspy.core.tests.test_trace.TraceTestCase) |
| 0.426s | test_dtype_is_not_unnecessarily_changed (obspy.core.tests.test_trace.TraceTestCase) |
| 0.386s | test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.386s | test_insert (obspy.core.tests.test_stream.StreamTestCase) |
| 0.367s | test_read_and_write (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.353s | test_deepcopy (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
| 0.318s | test_cutout (obspy.core.tests.test_stream.StreamTestCase) |
| 0.316s | test_spectrogram (obspy.core.tests.test_stream.StreamTestCase) |
| 0.281s | test_plot (obspy.core.tests.test_stream.StreamTestCase) |
| 0.229s | test_inventory_merging_metadata_update (obspy.core.tests.test_inventory.InventoryTestCase) |
| 0.209s | test_rotate (obspy.core.tests.test_stream.StreamTestCase) |
| 0.199s | test_simulate_seedresp_parser (obspy.core.tests.test_stream.StreamTestCase) |
| 0.195s | test_plot (obspy.core.tests.test_trace.TraceTestCase) |
| 0.190s | test_misaligned_traces (obspy.core.tests.test_stream.StreamTestCase) |
| 0.183s | test_trim_floating_point_with_padding_2 (obspy.core.tests.test_trace.TraceTestCase) |