#126054 Report by node DESKTOP-M3695NG covering 1705 tests from 45 modules resulted into 37 errors
Report
- ObsPy version
- 1.1.0
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 347.5 sec
- Report date/time
- July 8, 2022, 3:32 a.m.
System / Python
- Architecture
- 64bit
- Machine
- AMD64
- Node
- DESKTOP-M3695NG
- Processor
- Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
- Python Compiler
- MSC v.1900 64 bit (AMD64)
- Python Implementation
- CPython
- Python Version
- 3.5.5
- Release
- 10
- System
- Windows
- Version
- 10.0.19041
Dependencies
- cartopy
- ---
- decorator
- 5.1.1
- flake8
- ---
- future
- 0.16.0
- geographiclib
- ---
- lxml.etree
- 4.2.5
- m2crypto
- ---
- matplotlib
- 3.0.0
- mock
- ---
- mpl_toolkits.basemap
- ---
- numpy
- 1.14.2
- pep8-naming
- ---
- pyflakes
- ---
- pyimgur
- ---
- pyproj
- ---
- requests
- 2.13.0
- scipy
- 1.1.0
- setuptools
- 40.4.3
- shapefile
- ---
- sqlalchemy
- 1.2.12
Modules (45)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.arclink | Not tested | - | - | - | - | - |
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | Not tested | - | - | - | - | - |
obspy.clients.filesystem | - | 6 | 6 | - | 4.76s | - |
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 | 9 | 572 | 546 | 26 | 67.12s | 1 2 3 4 5 6 7 8 9 |
obspy.db | - | 9 | 9 | - | 0.14s | - |
obspy.geodetics | - | 18 | 16 | 2 | 0.35s | - |
obspy.imaging | 2 | 76 | 75 | 1 | 84.30s | 10 11 |
obspy.io.ah | - | 5 | 5 | - | 0.22s | - |
obspy.io.arclink | - | 4 | 4 | - | 3.41s | - |
obspy.io.ascii | 1 | 27 | 27 | - | 0.61s | 12 |
obspy.io.cmtsolution | - | 9 | 9 | - | 0.13s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.04s | - |
obspy.io.css | - | 7 | 7 | - | 2.69s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.21s | - |
obspy.io.gse2 | 1 | 55 | 55 | - | 1.12s | 13 |
obspy.io.iaspei | - | 7 | 7 | - | 1.36s | - |
obspy.io.json | - | 4 | 4 | - | 0.09s | - |
obspy.io.kinemetrics | 1 | 7 | 7 | - | 1.09s | 14 |
obspy.io.kml | - | 3 | 3 | - | 0.34s | - |
obspy.io.mseed | 3 | 115 | 115 | - | 9.24s | 15 16 17 |
obspy.io.ndk | - | 20 | 20 | - | 0.96s | - |
obspy.io.nied | - | 11 | 11 | - | 0.26s | - |
obspy.io.nlloc | - | 11 | 10 | 1 | 0.41s | - |
obspy.io.nordic | - | 31 | 31 | - | 1.77s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.04s | - |
obspy.io.pde | - | 13 | 13 | - | 0.63s | - |
obspy.io.quakeml | - | 34 | 34 | - | 1.26s | - |
obspy.io.reftek | 6 | 18 | 18 | - | 0.52s | 18 19 20 21 22 23 |
obspy.io.sac | 2 | 94 | 94 | - | 1.59s | 24 25 |
obspy.io.scardec | - | 4 | 4 | - | 0.14s | - |
obspy.io.seg2 | 1 | 1 | 1 | - | 0.02s | 26 |
obspy.io.segy | 1 | 54 | 54 | - | 1.50s | 27 |
obspy.io.seisan | 1 | 8 | 8 | - | 0.25s | 28 |
obspy.io.seiscomp | - | 42 | 42 | - | 1.90s | - |
obspy.io.sh | 1 | 19 | 19 | - | 0.64s | 29 |
obspy.io.shapefile | - | 5 | 1 | 4 | 0.16s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.24s | - |
obspy.io.stationxml | - | 20 | 20 | - | 0.68s | - |
obspy.io.wav | - | 8 | 8 | - | 0.22s | - |
obspy.io.win | - | 2 | 2 | - | 0.16s | - |
obspy.io.xseed | - | 80 | 80 | - | 19.23s | - |
obspy.io.y | - | 5 | 5 | - | 0.08s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.66s | - |
obspy.realtime | 1 | 22 | 22 | - | 0.91s | 30 |
obspy.scripts | - | 2 | 2 | - | 0.06s | - |
obspy.signal | 7 | 175 | 175 | - | 59.38s | 31 32 33 34 35 36 37 |
obspy.taup | - | 64 | 58 | 6 | 76.57s | - |
Summary | 37 | 1705 | 1665 | 40 | 347.45s | 37 |
Tracebacks (37)
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\stream.py", line 2471, in std ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\stream.py", line 2487, 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 "C:\Users\sysop\anaconda3\envs\obspy\lib\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 229, in resample ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\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.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 "C:\Users\sysop\anaconda3\envs\obspy\lib\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1823, in std ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 1835, in obspy.core.trace.Trace.std Failed example: tr.std() Expected: 4.2614551505325036 Got: 4.261455150532504 ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\trace.py", line 2424, in times ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.core.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\__init__.py", line 11, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\util\base.py", line 128, in create_empty_data_chunk ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\util\base.py", line 144, 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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\util\base.py", line 147, 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 "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\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 0x000001FD8E96F1D0> != UTCDateTime(2009, 7, 1, 12, 12, 12)
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\imaging\tests\test_scan.py", line 179, in test_multiple_sampling_rates self.assertEqual(expected, out.stdout.splitlines()) AssertionError: Lists differ: ['XX.[53 chars]0:00.899995Z -0.100', 'XX.TEST..BHZ 2008-01-15[48 chars]100'] != ['XX.[53 chars]0:00.900000Z -0.100', 'XX.TEST..BHZ 2008-01-15[48 chars]100'] First differing element 0: 'XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.899995Z -0.100' 'XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.900000Z -0.100' - ['XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.899995Z -0.100', ? - ^^^^ + ['XX.TEST..BHZ 2008-01-15T00:00:01.000000Z 2008-01-15T00:00:00.900000Z -0.100', ? ^^^^^ - 'XX.TEST..BHZ 2008-01-15T00:00:01.899999Z 2008-01-15T00:00:02.000000Z 0.100'] ? - ^^^^ + 'XX.TEST..BHZ 2008-01-15T00:00:01.900000Z 2008-01-15T00:00:02.000000Z 0.100'] ? ^^^^^
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.imaging.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\imaging\__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\imaging\__init__.py", line 109, in obspy.imaging.__init__ Failed example: beachball(np1) #doctest: +ELLIPSIS Expected: <matplotlib.figure.Figure object at 0x...> Got: <Figure size 200x200 with 1 Axes> ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\imaging\__init__.py", line 128, in obspy.imaging.__init__ Failed example: beachball(mt) #doctest: +ELLIPSIS Expected: <matplotlib.figure.Figure object at 0x...> Got: <Figure size 200x200 with 1 Axes>
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\ascii\tests\test_ascii.py", line 561, in test_write_slist_custom_fmt_custom '194.0500031\t205.0599976') AssertionError: '185.[15 chars]00043\t185.0299988\t189.0399933\t194.0500031\t205.0599976' != '185.[15 chars]000430000001\t185.02999879999999\t189.03999329[28 chars]9976' - 185.0099945 181.0200043 185.0299988 189.0399933 194.0500031 205.0599976 ? ^ ^ + 185.0099945 181.02000430000001 185.02999879999999 189.03999329999999 194.0500031 205.0599976 ? +++++++ ^^^^^^^^ ^^^^^^^^
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.gse2.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\gse2\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\gse2\__init__.py", line 79, in obspy.io.gse2.__init__ Failed example: print(st[0].data) Expected: [ 12 -10 16 ..., 8 0 -40] Got: [ 12 -10 16 ... 8 0 -40]
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.kinemetrics.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\kinemetrics\__init__.py", line 100, in obspy.io.kinemetrics.__init__ Failed example: print(st[0].data) Expected: [-0.02446475 -0.02453492 -0.02446709 ..., -0.02452556 -0.02450685 -0.02442499] Got: [-0.02446475 -0.02453492 -0.02446709 ... -0.02452556 -0.02450685 -0.02442499]
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\mseed\tests\test_mseed_special_issues.py", line 1107, in test_reading_truncated_miniseed_files_case_2 self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\mseed\tests\test_mseed_special_issues.py", line 1078, in test_reading_truncated_miniseed_files self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.mseed.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\mseed\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\mseed\__init__.py", line 65, in obspy.io.mseed.__init__ Failed example: print(st[0].data) Expected: [2787 2776 2774 ..., 2850 2853 2853] Got: [2787 2776 2774 ... 2850 2853 2853]
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 278, in test_read_file_perturbed_packet_sequence self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 179, in test_read_reftek130_no_component_codes_specified self.assertEqual(len(w), 8) AssertionError: 11 != 8
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 311, in test_drop_not_implemented_packets self.assertEqual(len(w), 2) AssertionError: 5 != 2
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 342, in test_missing_event_trailer_packet self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 243, in test_warning_disturbed_packet_sequence self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\reftek\tests\test_core.py", line 367, in test_truncated_last_packet self.assertEqual(len(w), 2) AssertionError: 5 != 2
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.sactrace.SACTrace.read File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sac\sactrace.py", line 1034, in read ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sac\sactrace.py", line 1075, in obspy.io.sac.sactrace.SACTrace.read Failed example: sac.data # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ -8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, ... 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32) Got: array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01, 5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00, 9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01, -1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01, -9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01, -5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01, 5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00, 9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01, -4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01, -9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01, -5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01, 5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00, 9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01, -7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01, -9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01, -5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01, 5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00, 9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01, -9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01, -9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01, -5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01, 5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32)
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sac.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sac\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sac\__init__.py", line 59, in obspy.io.sac.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ -8.74227766e-08, -3.09016973e-01,..., 3.09007347e-01], dtype=float32) Got: array([-8.74227766e-08, -3.09016973e-01, -5.87785363e-01, -8.09017122e-01, -9.51056600e-01, -1.00000000e+00, -9.51056302e-01, -8.09016585e-01, -5.87784529e-01, -3.09016049e-01, 1.12851990e-06, 3.09018195e-01, 5.87786376e-01, 8.09017897e-01, 9.51057017e-01, 1.00000000e+00, 9.51056063e-01, 8.09016109e-01, 5.87783873e-01, 3.09015274e-01, -1.93119831e-06, -3.09018940e-01, -5.87787032e-01, -8.09018373e-01, -9.51057255e-01, -1.00000000e+00, -9.51055706e-01, -8.09015334e-01, -5.87782860e-01, -3.09014052e-01, 3.21071411e-06, 3.09020162e-01, 5.87788045e-01, 8.09019089e-01, 9.51057673e-01, 1.00000000e+00, 9.51055288e-01, 8.09014559e-01, 5.87781847e-01, 3.09012860e-01, -4.49022991e-06, -3.09021384e-01, -5.87789118e-01, -8.09019864e-01, -9.51058090e-01, -1.00000000e+00, -9.51054871e-01, -8.09013844e-01, -5.87780774e-01, -3.09011638e-01, 5.76974526e-06, 3.09022605e-01, 5.87790132e-01, 8.09020638e-01, 9.51058447e-01, 1.00000000e+00, 9.51054513e-01, 8.09013069e-01, 5.87779760e-01, 3.09010416e-01, -7.04926106e-06, -3.09023827e-01, -5.87791145e-01, -8.09021354e-01, -9.51058865e-01, -1.00000000e+00, -9.51054096e-01, -8.09012353e-01, -5.87778747e-01, -3.09009194e-01, 8.32877686e-06, 3.09025049e-01, 5.87792218e-01, 8.09022129e-01, 9.51059222e-01, 1.00000000e+00, 9.51053679e-01, 8.09011579e-01, 5.87777674e-01, 3.09007972e-01, -9.60829220e-06, -3.09026241e-01, -5.87793231e-01, -8.09022844e-01, -9.51059639e-01, -1.00000000e+00, -9.51053321e-01, -8.09010804e-01, -5.87776661e-01, -3.09006751e-01, 1.08878085e-05, 3.09027463e-01, 5.87792754e-01, 8.09022486e-01, 9.51059461e-01, 1.00000000e+00, 9.51053500e-01, 8.09011161e-01, 5.87777138e-01, 3.09007347e-01], dtype=float32)
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\seg2\tests\test_seg2.py", line 85, in test_read_data_format_2 self.assertEqual(len(w), 1) AssertionError: 4 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\segy\tests\test_core.py", line 635, in test_reading_and_writing_with_unset_dates self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.seisan.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\seisan\__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\seisan\__init__.py", line 52, in obspy.io.seisan.__init__ Failed example: print(st[0].data) Expected: [ 464 492 519 ..., -7042 -6960 -6858] Got: [ 464 492 519 ... -7042 -6960 -6858]
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.io.sh.__init__ File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sh\__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\io\sh\__init__.py", line 55, in obspy.io.sh.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Expected: array([ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ... -4.03387604e+01, -3.99515305e+01, -3.95423012e+01], dtype=float32) Got: array([ 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 0.000000e+00, 9.999987e-05, 3.338366e+01, 6.641345e+01, 9.907165e+01, 1.313408e+02, 1.632039e+02, 1.946445e+02, 2.256463e+02, 2.561938e+02, 2.862716e+02, 3.158649e+02, 3.449595e+02, 3.735416e+02, 4.015977e+02, 4.291148e+02, 4.560807e+02, 4.824833e+02, 5.083111e+02, 5.335532e+02, 5.581991e+02, 5.822387e+02, 6.056627e+02, 6.284618e+02, 6.506277e+02, 6.721521e+02, 6.930278e+02, 7.132476e+02, 7.328047e+02, 7.516935e+02, 7.699081e+02, 7.874437e+02, 8.042954e+02, 8.204593e+02, 8.359318e+02, 8.507097e+02, 8.647904e+02, 8.781716e+02, 8.908519e+02, 9.028298e+02, 9.141045e+02, 9.246761e+02, 9.345443e+02, 9.437100e+02, 9.521742e+02, 9.599384e+02, 9.670044e+02, 9.733748e+02, 9.790523e+02, 9.840402e+02, 9.883419e+02, 9.919617e+02, 9.949040e+02, 9.971735e+02, 9.987755e+02, 9.997157e+02, 1.000000e+03, 9.996348e+02, 9.986266e+02, 9.969827e+02, 9.947104e+02, 9.918174e+02, 9.883117e+02, 9.842017e+02, 9.794961e+02, 9.742039e+02, 9.683343e+02, 9.618969e+02, 9.549014e+02, 9.473580e+02, 9.392769e+02, 9.306688e+02, 9.215444e+02, 9.119149e+02, 9.017914e+02, 8.911855e+02, 8.801086e+02, 8.685729e+02, 8.565902e+02, 8.441728e+02, 8.313329e+02, 8.180833e+02, 8.044363e+02, 7.904048e+02, 7.760018e+02, 7.612402e+02, 7.461334e+02, 7.306941e+02, 7.149359e+02, 6.988723e+02, 6.825165e+02, 6.658820e+02, 6.489823e+02, 6.318311e+02, 6.144420e+02, 5.968284e+02, 5.790043e+02, 5.609829e+02, 5.427780e+02, 5.244034e+02, 5.058723e+02, 4.871986e+02, 4.683954e+02, 4.494765e+02, 4.304553e+02, 4.113447e+02, 3.921585e+02, 3.729093e+02, 3.536106e+02, 3.342753e+02, 3.149161e+02, 2.955461e+02, 2.761774e+02, 2.568228e+02, 2.374949e+02, 2.182056e+02, 1.989673e+02, 1.797915e+02, 1.606902e+02, 1.416753e+02, 1.227577e+02, 1.039492e+02, 8.526044e+01, 6.670248e+01, 4.828622e+01, 3.002179e+01, 1.191969e+01, -6.009835e+00, -2.375724e+01, -4.131253e+01, -5.866658e+01, -7.581001e+01, -9.273368e+01, -1.094291e+02, -1.258876e+02, -1.421010e+02, -1.580611e+02, -1.737601e+02, -1.891906e+02, -2.043451e+02, -2.192169e+02, -2.337988e+02, -2.480843e+02, -2.620674e+02, -2.757417e+02, -2.891018e+02, -3.021419e+02, -3.148568e+02, -3.272417e+02, -3.392915e+02, -3.510022e+02, -3.623694e+02, -3.733889e+02, -3.840574e+02, -3.943714e+02, -4.043277e+02, -4.139235e+02, -4.231560e+02, -4.320230e+02, -4.405224e+02, -4.486523e+02, -4.564113e+02, -4.637978e+02, -4.708109e+02, -4.774497e+02, -4.837136e+02, -4.896024e+02, -4.951160e+02, -5.002545e+02, -5.050183e+02, -5.094081e+02, -5.134249e+02, -5.170696e+02, -5.203436e+02, -5.232486e+02, -5.257861e+02, -5.279585e+02, -5.297678e+02, -5.312165e+02, -5.323072e+02, -5.330428e+02, -5.334263e+02, -5.334611e+02, -5.331505e+02, -5.324981e+02, -5.315079e+02, -5.301838e+02, -5.285301e+02, -5.265509e+02, -5.242509e+02, -5.216347e+02, -5.187073e+02, -5.154734e+02, -5.119384e+02, -5.081075e+02, -5.039861e+02, -4.995798e+02, -4.948942e+02, -4.899351e+02, -4.847086e+02, -4.792205e+02, -4.734773e+02, -4.674849e+02, -4.612498e+02, -4.547784e+02, -4.480773e+02, -4.411532e+02, -4.340126e+02, -4.266623e+02, -4.191092e+02, -4.113603e+02, -4.034225e+02, -3.953027e+02, -3.870081e+02, -3.785457e+02, -3.699226e+02, -3.611463e+02, -3.522235e+02, -3.431619e+02, -3.339684e+02, -3.246504e+02, -3.152153e+02, -3.056700e+02, -2.960221e+02, -2.862787e+02, -2.764471e+02, -2.665348e+02, -2.565485e+02, -2.464957e+02, -2.363835e+02, -2.262190e+02, -2.160095e+02, -2.057618e+02, -1.954829e+02, -1.851799e+02, -1.748596e+02, -1.645292e+02, -1.541949e+02, -1.438638e+02, -1.335424e+02, -1.232373e+02, -1.129553e+02, -1.027023e+02, -9.248491e+01, -8.230938e+01, -7.218187e+01, -6.210864e+01, -5.209529e+01, -4.214787e+01, -3.227218e+01, -2.247388e+01, -1.275873e+01, -3.131806e+00, 6.401351e+00, 1.583551e+01, 2.516556e+01, 3.438632e+01, 4.349327e+01, 5.248148e+01, 6.134630e+01, 7.008325e+01, 7.868778e+01, 8.715596e+01, 9.548351e+01, 1.036665e+02, 1.117009e+02, 1.195831e+02, 1.273096e+02, 1.348769e+02, 1.422817e+02, 1.495208e+02, 1.565910e+02, 1.634897e+02, 1.702141e+02, 1.767615e+02, 1.831294e+02, 1.893154e+02, 1.953175e+02, 2.011336e+02, 2.067617e+02, 2.122001e+02, 2.174471e+02, 2.225013e+02, 2.273613e+02, 2.320260e+02, 2.364941e+02, 2.407648e+02, 2.448374e+02, 2.487110e+02, 2.523853e+02, 2.558598e+02, 2.591343e+02, 2.622086e+02, 2.650827e+02, 2.677568e+02, 2.702311e+02, 2.725060e+02, 2.745821e+02, 2.764599e+02, 2.781403e+02, 2.796240e+02, 2.809121e+02, 2.820058e+02, 2.829061e+02, 2.836146e+02, 2.841326e+02, 2.844617e+02, 2.846035e+02, 2.845599e+02, 2.843326e+02, 2.839238e+02, 2.833354e+02, 2.825696e+02, 2.816287e+02, 2.805150e+02, 2.792309e+02, 2.777791e+02, 2.761621e+02, 2.743825e+02, 2.724432e+02, 2.703470e+02, 2.680969e+02, 2.656956e+02, 2.631466e+02, 2.604527e+02, 2.576170e+02, 2.546431e+02, 2.515340e+02, 2.482932e+02, 2.449242e+02, 2.414301e+02, 2.378148e+02, 2.340815e+02, 2.302341e+02, 2.262761e+02, 2.222110e+02, 2.180428e+02, 2.137749e+02, 2.094114e+02, 2.049558e+02, 2.004119e+02, 1.957837e+02, 1.910748e+02, 1.862894e+02, 1.814311e+02, 1.765036e+02, 1.715112e+02, 1.664573e+02, 1.613463e+02, 1.561818e+02, 1.509675e+02, 1.457076e+02, 1.404056e+02, 1.350658e+02, 1.296917e+02, 1.242871e+02, 1.188560e+02, 1.134019e+02, 1.079290e+02, 1.024407e+02, 9.694056e+01, 9.143266e+01, 8.592022e+01, 8.040728e+01, 7.489719e+01, 6.939329e+01, 6.389946e+01, 5.841878e+01, 5.295506e+01, 4.751145e+01, 4.209107e+01, 3.669762e+01, 3.133389e+01, 2.600347e+01, 2.070927e+01, 1.545415e+01, 1.024153e+01, 5.073956e+00, -4.528630e-02, -5.113564e+00, -1.012829e+01, -1.508639e+01, -1.998558e+01, -2.482291e+01, -2.959606e+01, -3.430275e+01, -3.894025e+01, -4.350659e+01, -4.799920e+01, -5.241605e+01, -5.675522e+01, -6.101436e+01, -6.519180e+01, -6.928538e+01, -7.329341e+01, -7.721430e+01, -8.104610e+01, -8.478751e+01, -8.843670e+01, -9.199241e+01, -9.545336e+01, -9.881802e+01, -1.020854e+02, -1.052542e+02, -1.083233e+02, -1.112920e+02, -1.141590e+02, -1.169238e+02, -1.195853e+02, -1.221431e+02, -1.245964e+02, -1.269447e+02, -1.291877e+02, -1.313246e+02, -1.333554e+02, -1.352798e+02, -1.370975e+02, -1.388086e+02, -1.404127e+02, -1.419101e+02, -1.433009e+02, -1.445851e+02, -1.457630e+02, -1.468349e+02, -1.478013e+02, -1.486624e+02, -1.494188e+02, -1.500710e+02, -1.506197e+02, -1.510655e+02, -1.514092e+02, -1.516516e+02, -1.517935e+02, -1.518357e+02, -1.517794e+02, -1.516255e+02, -1.513750e+02, -1.510292e+02, -1.505891e+02, -1.500560e+02, -1.494311e+02, -1.487158e+02, -1.479115e+02, -1.470195e+02, -1.460413e+02, -1.449784e+02, -1.438323e+02, -1.426046e+02, -1.412969e+02, -1.399108e+02, -1.384480e+02, -1.369102e+02, -1.352992e+02, -1.336167e+02, -1.318646e+02, -1.300446e+02, -1.281586e+02, -1.262085e+02, -1.241962e+02, -1.221236e+02, -1.199925e+02, -1.178052e+02, -1.155633e+02, -1.132691e+02, -1.109245e+02, -1.085314e+02, -1.060920e+02, -1.036081e+02, -1.010821e+02, -9.851581e+01, -9.591125e+01, -9.327070e+01, -9.059598e+01, -8.788938e+01, -8.515289e+01, -8.238844e+01, -7.959832e+01, -7.678439e+01, -7.394889e+01, -7.109379e+01, -6.822102e+01, -6.533281e+01, -6.243098e+01, -5.951776e+01, -5.659503e+01, -5.366467e+01, -5.072888e+01, -4.778937e+01, -4.484832e+01, -4.190754e+01, -3.896879e+01, -3.603420e+01, -3.310539e+01, -3.018443e+01, -2.727300e+01, -2.437280e+01, -2.148581e+01, -1.861353e+01, -1.575791e+01, -1.292050e+01, -1.010287e+01, -7.306848e+00, -4.533814e+00, -1.785544e+00, 9.365342e-01, 3.631025e+00, 6.296255e+00, 8.930993e+00, 1.153364e+01, 1.410293e+01, 1.663764e+01, 1.913626e+01, 2.159774e+01, 2.402068e+01, 2.640396e+01, 2.874655e+01, 3.104715e+01, 3.330486e+01, 3.551849e+01, 3.768711e+01, 3.980988e+01, 4.188569e+01, 4.391383e+01, 4.589332e+01, 4.782344e+01, 4.970349e+01, 5.153262e+01, 5.331029e+01, 5.503572e+01, 5.670840e+01, 5.832783e+01, 5.989335e+01, 6.140462e+01, 6.286109e+01, 6.426241e+01, 6.560828e+01, 6.689828e+01, 6.813223e+01, 6.930978e+01, 7.043080e+01, 7.149516e+01, 7.250264e+01, 7.345325e+01, 7.434686e+01, 7.518349e+01, 7.596322e+01, 7.668604e+01, 7.735207e+01, 7.796144e+01, 7.851433e+01, 7.901096e+01, 7.945152e+01, 7.983635e+01, 8.016570e+01, 8.043991e+01, 8.065939e+01, 8.082452e+01, 8.093573e+01, 8.099349e+01, 8.099830e+01, 8.095068e+01, 8.085117e+01, 8.070037e+01, 8.049888e+01, 8.024734e+01, 7.994638e+01, 7.959673e+01, 7.919907e+01, 7.875417e+01, 7.826274e+01, 7.772560e+01, 7.714354e+01, 7.651736e+01, 7.584795e+01, 7.513612e+01, 7.438281e+01, 7.358889e+01, 7.275525e+01, 7.188288e+01, 7.097267e+01, 7.002564e+01, 6.904277e+01, 6.802498e+01, 6.697335e+01, 6.588885e+01, 6.477255e+01, 6.362548e+01, 6.244863e+01, 6.124314e+01, 6.001001e+01, 5.875037e+01, 5.746527e+01, 5.615575e+01, 5.482299e+01, 5.346798e+01, 5.209193e+01, 5.069588e+01, 4.928088e+01, 4.784815e+01, 4.639867e+01, 4.493367e+01, 4.345417e+01, 4.196125e+01, 4.045609e+01, 3.893969e+01, 3.741326e+01, 3.587782e+01, 3.433439e+01, 3.278417e+01, 3.122812e+01, 2.966741e+01, 2.810305e+01, 2.653602e+01, 2.496747e+01, 2.339833e+01, 2.182973e+01, 2.026262e+01, 1.869794e+01, 1.713679e+01, 1.558004e+01, 1.402876e+01, 1.248384e+01, 1.094616e+01, 9.416759e+00, 7.896429e+00, 6.386178e+00, 4.886823e+00, 3.399170e+00, 1.924178e+00, 4.625617e-01, -9.847549e-01, -2.417034e+00, -3.833552e+00, -5.233443e+00, -6.616073e+00, -7.980615e+00, -9.326418e+00, -1.065285e+01, -1.195914e+01, -1.324475e+01, -1.450896e+01, -1.575120e+01, -1.697090e+01, -1.816757e+01, -1.934050e+01, -2.048925e+01, -2.161332e+01, -2.271222e+01, -2.378559e+01, -2.483281e+01, -2.585355e+01, -2.684742e+01, -2.781403e+01, -2.875311e+01, -2.966418e+01, -3.054700e+01, -3.140128e+01, -3.222675e+01, -3.302323e+01, -3.379036e+01, -3.452802e+01, -3.523600e+01, -3.591415e+01, -3.656237e+01, -3.718045e+01, -3.776833e+01, -3.832594e+01, -3.885322e+01, -3.935016e+01, -3.981667e+01, -4.025278e+01, -4.065853e+01, -4.103395e+01, -4.137911e+01, -4.169406e+01, -4.197891e+01, -4.223377e+01, -4.245879e+01, -4.265413e+01, -4.281992e+01, -4.295636e+01, -4.306367e+01, -4.314207e+01, -4.319178e+01, -4.321307e+01, -4.320619e+01, -4.317144e+01, -4.310912e+01, -4.301954e+01, -4.290302e+01, -4.275992e+01, -4.259060e+01, -4.239541e+01, -4.217473e+01, -4.192899e+01, -4.165858e+01, -4.136391e+01, -4.104543e+01, -4.070354e+01, -4.033876e+01, -3.995153e+01, -3.954230e+01], dtype=float32)
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.realtime.rttrace.RtTrace File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\realtime\rttrace.py", line 40, in RtTrace ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\realtime\rttrace.py", line 78, in obspy.realtime.rttrace.RtTrace Failed example: print(epicentral_distance) Expected: 30.0855 Got: 30.085527 ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\realtime\rttrace.py", line 108, in obspy.realtime.rttrace.RtTrace Failed example: print(peak) Expected: 0.136404 Got: 0.13640444
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\tests\test_spectral_estimation.py", line 694, in test_ppsd_spectrogram_plot fig.savefig(ic.name) File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\core\util\testing.py", line 510, in __exit__ raise ImageComparisonException(msg) obspy.core.util.testing.ImageComparisonException: Image comparison failed. File: ppsd_spectrogram.png RMS: 55.651901435021365 Tolerance: 45.0 Upload to imgur failed (caught ImportError: No module named 'pyimgur').
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal.cross_correlation.templates_max_similarity File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\cross_correlation.py", line 568, in templates_max_similarity ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\cross_correlation.py", line 598, in obspy.signal.cross_correlation.templates_max_similarity Failed example: print(templates_max_similarity(st, t, [templ])) Expected: 0.922536411468 Got: 0.9225364114676284
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\tests\test_freqattributes.py", line 143, in test_logcep self.p, self.n, 'Hamming') File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\freqattributes.py", line 356, in log_cepstrum m, a, b = log_spaced_filterbank_matrix(p, nfft, fs, w) File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\freqattributes.py", line 327, in log_spaced_filterbank_matrix xx = sparse.coo_matrix((v, (c, r))).transpose().todense() File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\scipy\sparse\coo.py", line 150, in __init__ self._shape = check_shape((M, N)) File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\scipy\sparse\sputils.py", line 281, in check_shape new_shape = tuple(operator.index(arg) for arg in args) File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\scipy\sparse\sputils.py", line 281, in <genexpr> new_shape = tuple(operator.index(arg) for arg in args) TypeError: 'numpy.float64' object cannot be interpreted as an integer
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal._sosfilt._cplxreal File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 25, in _cplxreal ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 69, in obspy.signal._sosfilt._cplxreal Failed example: print(zc) Expected: [ 1.+1.j 2.+1.j 2.+1.j 2.+2.j] Got: [1.+1.j 2.+1.j 2.+1.j 2.+2.j] ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 71, in obspy.signal._sosfilt._cplxreal Failed example: print(zr) Expected: [ 1. 3. 4.] Got: [1. 3. 4.]
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal._sosfilt._zpk2sos File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 139, in _zpk2sos ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 254, 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.0014154 , 0.00248707, 0.0014154 ], [1. , 0.72965193, 1. ], [1. , 0.17594966, 1. ]])
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal._sosfilt._sosfilt File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 403, in _sosfilt ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\_sosfilt.py", line 466, in obspy.signal._sosfilt._sosfilt Failed example: plt.figure() # doctest: +ELLIPSIS Expected: <matplotlib.figure.Figure object at 0x...> Got: <Figure size 640x480 with 0 Axes>
Traceback (most recent call last): File "C:\Users\sysop\anaconda3\envs\obspy\lib\doctest.py", line 2190, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.signal.rotate.rotate2zne File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\rotate.py", line 152, in rotate2zne ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\rotate.py", line 187, in obspy.signal.rotate.rotate2zne Failed example: rotate2zne(np.arange(3), 0, -90, np.arange(3) * 2, 0, 0, np.arange(3) * 3, 90, 0) # doctest: +NORMALIZE_WHITESPACE Expected: (array([ 0., 1., 2.]), array([ 0., 2., 4.]), array([ 0., 3., 6.])) Got: (array([0., 1., 2.]), array([0., 2., 4.]), array([0., 3., 6.])) ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\rotate.py", line 192, in obspy.signal.rotate.rotate2zne Failed example: rotate2zne(np.arange(3), 0, -90, np.arange(3) * 2, 180, 0, np.arange(3) * 3, 90, 0) # doctest: +NORMALIZE_WHITESPACE Expected: (array([ 0., 1., 2.]), array([ 0., -2., -4.]), array([ 0., 3., 6.])) Got: (array([0., 1., 2.]), array([ 0., -2., -4.]), array([0., 3., 6.])) ---------------------------------------------------------------------- File "C:\Users\sysop\anaconda3\envs\obspy\lib\site-packages\obspy\signal\rotate.py", line 197, in obspy.signal.rotate.rotate2zne Failed example: rotate2zne(np.arange(3), 0, 0, np.arange(3) * 2, 90, 0, np.arange(3) * 3, 0, -90) # doctest: +NORMALIZE_WHITESPACE Expected: (array([ 0., 3., 6.]), array([ 0., 1., 2.]), array([ 0., 2., 4.])) Got: (array([0., 3., 6.]), array([0., 1., 2.]), array([0., 2., 4.]))
Skipped tests (40)
Submodule | Test | Skip message |
---|---|---|
imaging | test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) | Currently broken until further review. |
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_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_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_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 |
taup | test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) | test needs geographiclib >= 1.34 |
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_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. |
geodetics | test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
geodetics | test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) | Module geographiclib is not installed |
io.nlloc | test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase) | pyproj not installed |
io.shapefile | test_write_catalog_shapefile (obspy.io.shapefile.tests.test_core.ShapefileTestCase) | 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_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 |
Slowest tests (20)
Runtime | Test |
---|---|
20.195s | test_is_format (obspy.core.tests.test_waveform_plugins.WaveformPluginsTestCase) |
13.824s | test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase) |
11.365s | __init__ (obspy.taup) |
8.454s | test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
6.865s | test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase) |
6.184s | test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase) |
6.168s | test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.950s | test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.932s | test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.852s | test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.640s | test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.496s | plot_travel_times (obspy.taup.tau) |
5.460s | test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.459s | test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.413s | test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.396s | test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
5.212s | test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase) |
4.877s | test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase) |
4.643s | test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase) |
4.393s | test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) |