#101580 Report by node travis-ci covering 2068 tests from 55 modules resulted into 15 errors

Report

ObsPy version
1.1.1rc1.post0+642.g73d4dd0008
GitHub Pull Request
https://github.com/obspy/obspy/pull/2140
Report file
XML document
Total runtime
782.4 sec
Report date/time
Feb. 15, 2019, 12:13 a.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
i386
Python Compiler
Clang 4.0.1 (tags/RELEASE_401/final)
Python Implementation
CPython
Python Version
3.7.2
Release
17.4.0
System
Darwin
Version
Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64

Dependencies

cartopy
---
decorator
4.3.2
flake8
---
future
0.17.1
geographiclib
1.49
lxml.etree
4.3.0
m2crypto
---
matplotlib
3.0.2
mock
2.0.0
mpl_toolkits.basemap
1.1.0
numpy
1.15.4
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.6
requests
2.21.0
scipy
1.2.0
setuptools
40.7.3
shapefile
2.0.1
sqlalchemy
1.2.17

Modules (55)

Module Errors / Failures Tracebacks
obspy.clients.arclink - -
obspy.clients.earthworm - -
obspy.clients.fdsn - -
obspy.clients.filesystem - -
obspy.clients.iris 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
obspy.clients.neic - -
obspy.clients.nrl - -
obspy.clients.seedlink - -
obspy.clients.seishub - -
obspy.clients.syngine - -
obspy.core - -
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.gcf - -
obspy.io.gse2 - -
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 - -
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 - -
obspy.taup - -
Summary 15 15

Tracebacks (15)

Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 58, in test_distaz
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 126, in test_evalresp
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 83, in test_flinnengdahl
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 223, in test_resp
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 31, in test_sacpz
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 248, in test_timeseries
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/tests/test_client.py", line 116, in test_traveltime
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 37, in Client
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 70, in obspy.clients.iris.client.Client
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[1]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 71, in obspy.clients.iris.client.Client
Failed example:
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
evtlon=1.4)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[2]>", line 1, in <module>
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 73, in obspy.clients.iris.client.Client
Failed example:
print(result['distance'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[3]>", line 1, in <module>
print(result['distance'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 75, in obspy.clients.iris.client.Client
Failed example:
print(result['backazimuth'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[4]>", line 1, in <module>
print(result['backazimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 77, in obspy.clients.iris.client.Client
Failed example:
print(result['azimuth'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client[5]>", line 1, in <module>
print(result['azimuth'])
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.distaz
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 564, in distaz
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 598, in obspy.clients.iris.client.Client.distaz
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[1]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 599, in obspy.clients.iris.client.Client.distaz
Failed example:
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
evtlon=1.4)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[2]>", line 1, in <module>
result = client.distaz(stalat=1.1, stalon=1.2, evtlat=3.2,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 601, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['distance'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[3]>", line 1, in <module>
print(result['distance'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 603, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['distancemeters'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[4]>", line 1, in <module>
print(result['distancemeters'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 605, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['backazimuth'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[5]>", line 1, in <module>
print(result['backazimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 607, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['azimuth'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[6]>", line 1, in <module>
print(result['azimuth'])
NameError: name 'result' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 609, in obspy.clients.iris.client.Client.distaz
Failed example:
print(result['ellipsoidname'])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.distaz[7]>", line 1, in <module>
print(result['ellipsoidname'])
NameError: name 'result' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.evalresp
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 833, in evalresp
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 935, in obspy.clients.iris.client.Client.evalresp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[1]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 937, in obspy.clients.iris.client.Client.evalresp
Failed example:
data = client.evalresp("IU", "ANMO", "00", "BHZ", dt,
output='fap')
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[3]>", line 1, in <module>
data = client.evalresp("IU", "ANMO", "00", "BHZ", dt,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 939, in obspy.clients.iris.client.Client.evalresp
Failed example:
data[0] # frequency, amplitude, phase of first point
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[4]>", line 1, in <module>
data[0] # frequency, amplitude, phase of first point
NameError: name 'data' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 945, in obspy.clients.iris.client.Client.evalresp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.evalresp[6]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.flinnengdahl
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 629, in flinnengdahl
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 653, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[1]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 654, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[2]>", line 1, in <module>
client.flinnengdahl(lat=-20.5, lon=-100.6, rtype="code")
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 657, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
print(client.flinnengdahl(lat=42, lon=-122.24, rtype="region"))
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[3]>", line 1, in <module>
print(client.flinnengdahl(lat=42, lon=-122.24, rtype="region"))
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 660, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
code, region = client.flinnengdahl(lat=-20.5, lon=-100.6)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[4]>", line 1, in <module>
code, region = client.flinnengdahl(lat=-20.5, lon=-100.6)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 661, in obspy.clients.iris.client.Client.flinnengdahl
Failed example:
print(code, region)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.flinnengdahl[5]>", line 1, in <module>
print(code, region)
NameError: name 'code' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.resp
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 363, in resp
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 409, in obspy.clients.iris.client.Client.resp
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[2]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 411, in obspy.clients.iris.client.Client.resp
Failed example:
data = client.resp("IU", "ANMO", "00", "BHZ", dt)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[4]>", line 1, in <module>
data = client.resp("IU", "ANMO", "00", "BHZ", dt)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 412, in obspy.clients.iris.client.Client.resp
Failed example:
print(data.decode()) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.resp[5]>", line 1, in <module>
print(data.decode()) # doctest: +ELLIPSIS
NameError: name 'data' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.sacpz
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 457, in sacpz
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 492, in obspy.clients.iris.client.Client.sacpz
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[2]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 494, in obspy.clients.iris.client.Client.sacpz
Failed example:
sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[4]>", line 1, in <module>
sacpz = client.sacpz("IU", "ANMO", "00", "BHZ", dt)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 495, in obspy.clients.iris.client.Client.sacpz
Failed example:
print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.sacpz[5]>", line 1, in <module>
print(sacpz.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'sacpz' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.timeseries
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 180, in timeseries
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 317, in obspy.clients.iris.client.Client.timeseries
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[3]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 318, in obspy.clients.iris.client.Client.timeseries
Failed example:
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[4]>", line 1, in <module>
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10)
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 319, in obspy.clients.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[5]>", line 1, in <module>
print(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 321, in obspy.clients.iris.client.Client.timeseries
Failed example:
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
filter=["correct", "demean", "lp=2.0"])
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[6]>", line 1, in <module>
st = client.timeseries("IU", "ANMO", "00", "BHZ", dt, dt+10,
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 323, in obspy.clients.iris.client.Client.timeseries
Failed example:
print(st[0].data) # doctest: +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.timeseries[7]>", line 1, in <module>
print(st[0].data) # doctest: +ELLIPSIS
NameError: name 'st' is not defined
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 2198, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.clients.iris.client.Client.traveltime
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 687, in traveltime
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 771, in obspy.clients.iris.client.Client.traveltime
Failed example:
client = Client()
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[1]>", line 1, in <module>
client = Client()
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 94, in __init__
if self.user or self.password:
AttributeError: 'Client' object has no attribute 'user'
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 772, in obspy.clients.iris.client.Client.traveltime
Failed example:
result = client.traveltime(evloc=(-36.122,-72.898),
staloc=[(-33.45,-70.67),(47.61,-122.33),(35.69,139.69)],
evdepth=22.9)
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[2]>", line 1, in <module>
result = client.traveltime(evloc=(-36.122,-72.898),
NameError: name 'client' is not defined
----------------------------------------------------------------------
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/clients/iris/client.py", line 775, in obspy.clients.iris.client.Client.traveltime
Failed example:
print(result.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.7/doctest.py", line 1329, in __run
compileflags, 1), test.globs)
File "<doctest obspy.clients.iris.client.Client.traveltime[3]>", line 1, in <module>
print(result.decode()) # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
NameError: name 'result' is not defined

Skipped tests (37)

Submodule Test Skip message
clients.arclink test_m2crypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) M2Crypto is not installed
clients.arclink test_pycrypto (obspy.clients.arclink.tests.test_decrypt.ClientTestCase) PyCrypto is not installed
clients.seedlink test_info (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_issue708 (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seedlink test_time_window (obspy.clients.seedlink.tests.test_slclient.SLClientTestCase) test must be started manually
clients.seishub test_get_channel_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_coordinates (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_event_list (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_location_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_network_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_paz (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_preview_by_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_station_ids (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveform_with_metadata (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_get_waveforms (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_localcache (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
clients.seishub test_ping (obspy.clients.seishub.tests.test_client.ClientTestCase) Seishub test server not reachable.
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) Formatting tests require at least flake8 3.0.
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) unsupported proj4 library
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) unsupported proj4 library
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) unsupported proj4 library
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) unsupported proj4 library
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) unsupported proj4 library
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
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels

Slowest tests (20)

Runtime Test
32.028s test_get_networks (obspy.clients.arclink.tests.test_client.ClientTestCase)
26.022s test_get_waveform_instrument_change (obspy.clients.arclink.tests.test_client.ClientTestCase)
19.867s test_get_routing (obspy.clients.arclink.tests.test_client.ClientTestCase)
17.429s test_get_waveform_with_metadata (obspy.clients.arclink.tests.test_client.ClientTestCase)
16.983s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
16.854s test_get_inventory (obspy.clients.arclink.tests.test_client.ClientTestCase)
14.561s test_get_waveform_with_dcid_key_file (obspy.clients.arclink.tests.test_decrypt.ClientTestCase)
14.260s test_eida_token_resolution (obspy.clients.fdsn.tests.test_client.ClientTestCase)
13.962s __init__ (obspy.taup)
13.624s test_issue_311 (obspy.clients.arclink.tests.test_client.ClientTestCase)
13.441s test_get_stations (obspy.clients.arclink.tests.test_client.ClientTestCase)
12.200s test_save_waveform_no_compression (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.699s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
11.583s test_delayed_request (obspy.clients.arclink.tests.test_client.ClientTestCase)
11.106s test_get_stations_integration_test (obspy.clients.fdsn.tests.test_eidaws_routing_client.EIDAWSRoutingClientTestCase)
10.294s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
9.625s test_get_waveform (obspy.clients.arclink.tests.test_client.ClientTestCase)
9.489s __init__ (obspy.clients.arclink)
9.257s test_get_inventory_stationgroup (obspy.clients.arclink.tests.test_client.ClientTestCase)
8.608s test_get_inventory_twice (obspy.clients.arclink.tests.test_client.ClientTestCase)