#133585 Report by node boda-HP-Pavilion-Laptop-15-eh2xxx covering 1968 tests from 49 modules resulted into 87 errors

Report

ObsPy version
1.2.2
GitHub Pull Request
-
Report file
XML document
Total runtime
55.2 sec
Report date/time
March 15, 2023, 9:07 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
boda-HP-Pavilion-Laptop-15-eh2xxx
Processor
x86_64
Python Compiler
GCC 11.2.0
Python Implementation
CPython
Python Version
3.9.13
Release
5.19.0-35-generic
System
Linux
Version
#36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2

Dependencies

cartopy
---
decorator
5.1.1
flake8
4.0.1
future
0.18.2
geographiclib
---
lxml.etree
4.9.1
m2crypto
---
matplotlib
3.5.2
mock
4.0.3
mpl_toolkits.basemap
---
numpy
1.21.5
pep8-naming
---
pyflakes
2.4.0
pyimgur
---
pyproj
---
requests
2.28.1
scipy
1.9.1
setuptools
63.4.1
shapefile
---
sqlalchemy
1.4.39

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 22 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
obspy.db 1 23
obspy.geodetics - -
obspy.imaging 41 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic 2 65 66
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal 11 67 68 69 70 71 72 73 74 75 76 77
obspy.taup 10 78 79 80 81 82 83 84 85 86 87
Summary 87 87

Tracebacks (87)

Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 2585, in test_dtype_is_not_unnecessarily_changed
self.assertEqual(tr_int32.copy().resample(2.0).data.dtype, np.float64)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 1647, in test_method_chaining
temp_tr = tr.trim(tr.stats.starttime + 1)\
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 1824, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 2301, in test_remove_response_plot
with ImageComparison(image_dir, "trace_remove_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 1620, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 2100, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_response.py", line 142, in test_response_plot
with ImageComparison(self.image_dir, "response_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_response.py", line 161, in test_response_plot_degrees
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_network.py", line 143, in test_response_plot
with ImageComparison(self.image_dir, "network_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_inventory.py", line 198, in test_response_plot
with ImageComparison(self.image_dir, "inventory_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_channel.py", line 58, in test_response_plot
with ImageComparison(self.image_dir, "channel_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_util_base.py", line 80, in test_image_comparison
with ImageComparison(path, img_basename) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_stream.py", line 2239, in test_method_chaining
temp = st.trim(st[0].stats.starttime + 1, st[0].stats.starttime + 10)\
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/stream.py", line 2335, in resample
tr.resample(sampling_rate, window=native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_station.py", line 53, in test_response_plot
with ImageComparison(self.image_dir, "station_response.png",
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_station.py", line 71, in test_response_plot_degrees
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.Stream.resample
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/stream.py", line 2280, in resample
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/stream.py", line 2326, in obspy.core.stream.Stream.resample
Failed example:
st.resample(10.0) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 1334, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
st.resample(10.0) # doctest: +ELLIPSIS
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/stream.py", line 2335, in resample
tr.resample(sampling_rate, window=native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/stream.py", line 2328, in obspy.core.stream.Stream.resample
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 10.0 Hz, 300 samples
Got:
3 Trace(s) in Stream:
BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z - 2009-08-24T00:20:32.990000Z | 100.0 Hz, 3000 samples
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.isocalendar
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line 1424, in isocalendar
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line 1435, in obspy.core.utcdatetime.UTCDateTime.isocalendar
Failed example:
dt.isocalendar()
Expected:
(2008, 40, 3)
Got:
datetime.IsoCalendarDate(year=2008, week=40, weekday=3)
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date
Failed example:
t.matplotlib_date
Expected:
733643.0139780092
Got:
14480.01397800926
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.resample
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 229, in resample
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 275, in obspy.core.trace.Trace.resample
Failed example:
tr.resample(4.0) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window
beta = float(window)
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window
winfunc = _win_equiv[winstr]
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 1334, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
tr.resample(4.0) # doctest: +ELLIPSIS
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/decorator.py", line 245, in skip_if_no_data
return func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 273, in _add_processing_info
result = func(*args, **kwargs)
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 1733, in resample
large_w = np.fft.ifftshift(get_window(native_str(window),
File "/home/boda/anaconda3/lib/python3.9/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 277, in obspy.core.trace.Trace.resample
Failed example:
len(tr)
Expected:
32
Got:
8
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 279, in obspy.core.trace.Trace.resample
Failed example:
tr.stats.sampling_rate
Expected:
4.0
Got:
1.0
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/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. , 0.5, 1. , 0.5, 0. , 0.5, 1. ])
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 2487, in times
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/trace.py", line 2529, in obspy.core.trace.Trace.times
Failed example:
tr.times("matplotlib")
Expected:
array([ 733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Got:
array([ 14480.01392361, 14480.01392373, 14480.01392384, ...,
14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/home/boda/anaconda3/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 1530, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/home/boda/anaconda3/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 844, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-17, atol=0
Mismatched elements: 5 / 5 (100%)
Max absolute difference: 719163.0
Max relative difference: 0.9849928778830878
x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002,
10957.000002])
y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002,
730120.000002])
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/tests/test_utcdatetime.py", line 1092, in test_matplotlib_date
np.testing.assert_almost_equal(
File "/home/boda/anaconda3/lib/python3.9/site-packages/numpy/testing/_private/utils.py", line 599, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 853, in __getattr__
return getattr(self.comparator, key)
AttributeError: 'Comparator' object has no attribute '_text_converter_role'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/db/tests/test_client.py", line 246, in test_get_preview
st = self.client.get_preview(trace_ids=['GE.FUR.00.BHZ',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/db/client.py", line 253, in get_preview
trace_filter.append(and_(
File "/home/boda/anaconda3/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 2427, in append
coercions.expect(self._text_converter_role, clause).self_group(
File "/home/boda/anaconda3/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 855, in __getattr__
util.raise_(
File "/home/boda/anaconda3/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 208, in raise_
raise exception
AttributeError: Neither 'BooleanClauseList' object nor 'Comparator' object has an attribute '_text_converter_role'
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_ppsd.py", line 34, in test_ppsd_plot
with ImageComparison(self.path, 'ppsd.png', reltol=1.5) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_ppsd.py", line 77, in test_ppsd_plot_cumulative
with ImageComparison(self.path, 'ppsd_cumulative.png',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_ppsd.py", line 57, in test_ppsd_plot_frequency
with ImageComparison(self.path, 'ppsd_freq.png',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 82, in test_beachball
with ImageComparison(self.path, filename) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 228, in test_collection
with ImageComparison(self.path, 'bb_collection.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 292, in test_collection_aspect_x
self.collection_aspect(axis=[-10000, 10000, -100, 100],
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 259, in collection_aspect
with ImageComparison(self.path, filename_width) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 301, in test_collection_aspect_y
self.collection_aspect(axis=[-100, 100, -10000, 10000],
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 259, in collection_aspect
with ImageComparison(self.path, filename_width) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_beachball.py", line 314, in test_mopad_fallback
with ImageComparison(self.path, 'mopad_fallback.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 223, in test_multiple_sampling_rates
with image_comp as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 72, in test_scan_function_and_scanner_class
with ImageComparison(self.path, 'scan.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 56, in test_scan_main_method
with ImageComparison(self.path, 'scan.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 168, in test_scan_save_load_npz
with ImageComparison(self.path, 'scan.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 184, in test_scan_times
with ImageComparison(self.path, 'scan_times.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_scan.py", line 138, in test_scanner_manually_add_streams
with ImageComparison(self.path, 'scan.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_plot.py", line 43, in test_plot
with ImageComparison(self.path, 'plot.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_plot.py", line 58, in test_plot_no_merge
with ImageComparison(self.path, 'plot_nomerge.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_mopad.py", line 64, in test_collection
with ImageComparison(self.path, 'mopad_collection.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 298, in test_plot_azim_section
with ImageComparison(self.path, 'waveform_azim_section.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 264, in test_plot_binning_error
with ImageComparison(self.path, 'waveform_binning_error.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 342, in test_plot_colored_section
with ImageComparison(self.path, 'waveform_color_section.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 206, in test_plot_complex_gap_few_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 185, in test_plot_complex_gap_many_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 448, in test_plot_day_plot
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 483, in test_plot_day_plot_catalog
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 465, in test_plot_day_plot_explicit_event
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 423, in test_plot_default_relative
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 283, in test_plot_default_section
with ImageComparison(self.path, 'waveform_default_section.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 312, in test_plot_horizontal_section
with ImageComparison(self.path, 'waveform_horiz_section.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 215, in test_plot_multiple_traces
with ImageComparison(self.path, 'waveform_1_trace.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 134, in test_plot_one_hour_few_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 121, in test_plot_one_hour_many_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 437, in test_plot_ref_time_relative
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 327, in test_plot_ref_time_section
with ImageComparison(self.path, 'waveform_reftime_section.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 164, in test_plot_simple_gap_few_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 149, in test_plot_simple_gap_many_samples
with ImageComparison(self.path, image_name) as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 393, in test_plot_wiggles_horizontal_section
with ImageComparison(
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 358, in test_plot_wiggles_negative_section
with ImageComparison(
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 376, in test_plot_wiggles_positive_section
with ImageComparison(
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 410, in test_plot_wiggles_vertical_section
with ImageComparison(
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_waveform.py", line 254, in test_plot_with_labels
with ImageComparison(self.path, 'waveform_labels.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/imaging/tests/test_spectrogram.py", line 42, in test_spectrogram
with ImageComparison(self.path, 'spectrogram_log.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1013, in test_ellipse_plot
with ImageComparison(self.testing_path, 'plot_ellipse.png',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/io/nordic/tests/test_nordic.py", line 1030, in test_ellipse_plot_tangents
with ImageComparison(self.testing_path, 'plot_ellipse_tangents.png',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_detrend.py", line 72, in test_polynomial_detrend_plotting
with ImageComparison(self.path_images, 'polynomial_detrend.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_detrend.py", line 85, in test_spline_detrend_plotting
with ImageComparison(self.path_images,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_cross_correlation.py", line 300, in test_xcorr_pick_correction_images
with ImageComparison(self.path_images, 'xcorr_pick_corr.png') as ic:
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_tf_misfit.py", line 304, in test_plot_tf_gofs
with ImageComparison(self.path,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_tf_misfit.py", line 296, in test_plot_tf_misfits
with ImageComparison(self.path,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_tf_misfit.py", line 289, in test_plot_tfr
with ImageComparison(self.path,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_interpolation.py", line 133, in test_plot_lanczos_window
with ImageComparison(self.path_images,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 494, in test_ppsd_restricted_stacks
with ImageComparison(self.path_images,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 773, in test_ppsd_temporal_plot
with ImageComparison(self.path_images, 'ppsd_temporal.png',
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/doctest.py", line 2205, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.signal._sosfilt._zpk2sos
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/_sosfilt.py", line 141, in _zpk2sos
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/_sosfilt.py", line 256, in obspy.signal._sosfilt._zpk2sos
Failed example:
sos[:, :3]
Expected:
array([[ 0.0014154 , 0.00248707, 0.0014154 ],
[ 1. , 0.72965193, 1. ],
[ 1. , 0.17594966, 1. ]])
Got:
array([[ 0.0014152 , 0.00248677, 0.0014152 ],
[ 1. , 0.72976874, 1. ],
[ 1. , 0.17607852, 1. ]])
----------------------------------------------------------------------
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/_sosfilt.py", line 266, in obspy.signal._sosfilt._zpk2sos
Failed example:
sos[:, 3:]
Expected:
array([[ 1. , -1.32543251, 0.46989499],
[ 1. , -1.26117915, 0.6262586 ],
[ 1. , -1.25707217, 0.86199667]])
Got:
array([[ 1. , -1.32544025, 0.46989976],
[ 1. , -1.26118294, 0.62625924],
[ 1. , -1.2570723 , 0.8619958 ]])
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/signal/tests/test_spectral_estimation.py", line 713, in test_issue1216
self.assertEqual(len(w), 2)
AssertionError: 3 != 2
Traceback (most recent call last):
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 102, in test_cartesian_many_phases
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 114, in test_cartesian_many_phases_buried_station
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 128, in test_cartesian_many_phases_one_way
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 159, in test_plot_travel_times
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 171, in test_plot_travel_times_convenience
with ImageComparison(
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 85, in test_spherical_diff_phases
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 36, in test_spherical_many_phases
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 49, in test_spherical_many_phases_buried_station
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 62, in test_spherical_many_phases_one_way
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/taup/tests/test_plotting.py", line 74, in test_spherical_more_then_360_degrees
with ImageComparison(self.image_dir,
File "/home/boda/anaconda3/lib/python3.9/site-packages/obspy/core/util/testing.py", line 418, in __enter__
rcParams['text.hinting'] = False
File "/home/boda/anaconda3/lib/python3.9/site-packages/matplotlib/__init__.py", line 646, 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 (44)

Submodule Test Skip message
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_catalog_before_1900 (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) No code formatting tests for release builds
core test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) No code formatting tests for release builds
core test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) No code formatting tests for release builds
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkCartopyTestCase) cartopy not installed
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
io.nlloc test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) pyproj not installed
io.shapefile test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_catalog_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_via_plugin (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
io.shapefile test_write_inventory_shapefile_with_extra_field (obspy.io.shapefile.tests.test_core.ShapefileTestCase) pyshp not installed
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34

Slowest tests (20)

Runtime Test
3.250s __init__ (obspy.taup)
2.974s read (obspy.core.stream)
2.533s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
2.318s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.578s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
1.451s plot_travel_times (obspy.taup.tau)
1.448s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
1.424s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.233s test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)
1.135s test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)
1.131s test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
1.044s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
0.781s test_auto_read_arclink_xml (obspy.io.arclink.tests.test_inventory_xml.ArclinkInventoryTestCase)
0.715s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
0.712s plot_tfr (obspy.signal.tf_misfit)
0.611s test_evalresp_file_like_object (obspy.signal.tests.test_invsim.InvSimTestCase)
0.580s test_earthquake_models (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
0.520s __init__ (obspy.taup.tau.TauPyModel)
0.509s test_ppsd_w_iris_against_obspy_results (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
0.474s test_farfield_with_quiver (obspy.imaging.tests.test_source.RadPatternTestCase)