#105526 Report by node travis-ci covering 1836 tests from 47 modules resulted into 61 errors

Report

ObsPy Version
1.1.1.post0+836.g088088c441
Continuous Integration
https://travis-ci.org/obspy/obspy/jobs/590012747
GitHub Pull Request
https://github.com/obspy/obspy/pull/2451
Report File
XML Document
Total Runtime
287.8 sec
Report Date/Time
2019-09-26 10:28:26

System / Python

Architecture
64bit
Machine
x86_64
Node
travis-ci
Processor
x86_64
Python Compiler
GCC 4.8.2 20140120 (Red Hat 4.8.2-15)
Python Implementation
CPython
Python Version
3.4.5
Release
4.15.0-1028-gcp
System
Linux
Version
#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019

Dependencies

cartopy
---
decorator
4.4.0
flake8
---
future
0.16.0
geographiclib
1.50
lxml.etree
3.7.2
m2crypto
---
matplotlib
2.0.0
mock
2.0.0
mpl_toolkits.basemap
1.0.7
numpy
1.11.3
pep8-naming
---
pyflakes
---
pyimgur
0.5.2
pyproj
1.9.5.1
requests
2.21.0
scipy
0.18.1
setuptools
27.2.0
shapefile
2.1.0
sqlalchemy
1.1.5

Modules (47)

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 11 1 2 3 4 5 6 7 8 9 10 11
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution 9 12 13 14 15 16 17 18 19 20
obspy.io.cnv - -
obspy.io.css - -
obspy.io.focmec 3 21 22 23
obspy.io.gcf - -
obspy.io.gse2 3 24 25 26
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk 11 27 28 29 30 31 32 33 34 35 36 37
obspy.io.nied 3 38 39 40
obspy.io.nlloc - -
obspy.io.nordic 1 41
obspy.io.pdas - -
obspy.io.pde 2 42 43
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec 4 44 45 46 47
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp 4 48 49 50 51
obspy.io.sh 5 52 53 54 55 56
obspy.io.shapefile 3 57 58 59
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap 2 60 61
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 61 61

Tracebacks (61)

Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 389, in test_no_overlapping_objects
catalogs = catalogs or make_diverse_catalog_list()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_event.py", line 514, in test_issue_2173
event2 = read_events(bio)[0]
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 358, in test_all_referred_objects_in_events
for num, cat in enumerate(catalogs or make_diverse_catalog_list()):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_code_formatting.py", line 289, in test_no_pyplot_import_in_any_file
self.assertEqual(len(failures), 0, "\n" + "\n\n".join(failures))
AssertionError: 1 != 0 :
File '/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py' (line 18)
matches a forbidden matplotlib import statement outside of class/def statements
(breaking matplotlib backend switching on some systems):
'import matplotlib.pyplot as plt'
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 318, in test_preferred_origin
for cat in catalogs or make_diverse_catalog_list():
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.event.event.Event.plot
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/event.py", line 174, in plot
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/event.py", line 219, in obspy.core.event.event.Event.plot
Failed example:
event = read_events("/path/to/CMTSOLUTION")[0]
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.core.event.event.Event.plot[1]>", line 1, in <module>
event = read_events("/path/to/CMTSOLUTION")[0]
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 336, in test_preferred_focal_mechanism
for cat in catalogs or make_diverse_catalog_list():
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 515, in test_event_scoped_resource_id_many_threads
nested_catalogs = pool.map(make_diverse_catalog_list, range(5))
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/multiprocessing/pool.py", line 260, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/multiprocessing/pool.py", line 608, in get
raise self._value
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 327, in test_preferred_magnitude
for cat in catalogs or make_diverse_catalog_list():
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 373, in test_all_resource_id_attrs_are_attached
for cat in catalogs or make_diverse_catalog_list():
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 346, in test_arrivals_refer_to_picks_in_same_event
for cat in catalogs or make_diverse_catalog_list():
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/tests/test_resource_identifier.py", line 751, in make_diverse_catalog_list
cat2 = read_events(bytes_io)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 120, in test_read_and_write_cmtsolution_from_bytes_io
cat = obspy.read_events(buf)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 232, in test_reading_newer_cmtsolution_files
cat = obspy.read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 145, in test_read_and_write_cmtsolution_explosion
cat = obspy.read_events(buf)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.cmtsolution.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/__init__.py", line 22, in obspy.io.cmtsolution.__init__
Failed example:
cat = obspy.read_events("/path/to/CMTSOLUTION")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/CMTSOLUTION")
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/__init__.py", line 23, in obspy.io.cmtsolution.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/__init__.py", line 29, in obspy.io.cmtsolution.__init__
Failed example:
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.cmtsolution.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 95, in test_read_and_write_cmtsolution_from_open_files
cat = obspy.read_events(fh)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 38, in test_read_and_write_cmtsolution_from_files
cat = obspy.read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 215, in test_read_and_write_multiple_events_from_bytes_io
cat = obspy.read_events(buf)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 180, in test_read_and_write_multiple_cmtsolution_from_files
cat = obspy.read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/cmtsolution/tests/test_core.py", line 65, in test_write_no_preferred_focal_mechanism
cat = obspy.read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/focmec/tests/test_core.py", line 158, in test_read_focmec_out_through_plugin
cat = read_events(self.out_file)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/focmec/tests/test_core.py", line 176, in test_read_focmec_lst_other_flavors
cat = read_events(os.path.join(self.datapath, 'focmec_qedUWne.lst'))
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/focmec/tests/test_core.py", line 162, in test_read_focmec_lst_through_plugin
cat = read_events(self.lst_file)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/tests/test_bulletin.py", line 700, in test_read_events
catalog = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.bulletin._read_gse2
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/bulletin.py", line 988, in _read_gse2
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/bulletin.py", line 1111, in obspy.io.gse2.bulletin._read_gse2
Failed example:
catalog = read_events('/path/to/bulletin/gse_2.0_non_standard.txt',
default_network_code='FR', res_id_prefix='quakeml:abc',
fields=fields, event_point_separator=True)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[3]>", line 3, in <module>
fields=fields, event_point_separator=True)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/bulletin.py", line 1114, in obspy.io.gse2.bulletin._read_gse2
Failed example:
print(catalog)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.bulletin._read_gse2[4]>", line 1, in <module>
print(catalog)
NameError: name 'catalog' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.gse2.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/__init__.py", line 98, in obspy.io.gse2.__init__
Failed example:
catalog = read_events('/path/to/bulletin/gse_2.0_standard.txt')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[10]>", line 1, in <module>
catalog = read_events('/path/to/bulletin/gse_2.0_standard.txt')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/gse2/__init__.py", line 99, in obspy.io.gse2.__init__
Failed example:
print(catalog)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.gse2.__init__[11]>", line 1, in <module>
print(catalog)
NameError: name 'catalog' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 280, in test_missing_lines
cat = read_events(data)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.ndk.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/__init__.py", line 60, in obspy.io.ndk.__init__
Failed example:
cat = obspy.read_events("/path/to/C200604092050A.ndk")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ndk.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/C200604092050A.ndk")
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/__init__.py", line 61, in obspy.io.ndk.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.ndk.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 159, in test_reading_from_open_file_in_binary_mode
cat = read_events(fh)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 116, in test_reading_from_string_io
cat = read_events(file_object)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 132, in test_reading_from_bytes_io
cat = read_events(file_object)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 318, in test_raise_exception_if_no_events_in_file
self.assertRaises(ObsPyNDKException, read_events, data)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/unittest/case.py", line 707, in assertRaises
return context.handle('assertRaises', callableObj, args, kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/unittest/case.py", line 162, in handle
callable_obj(*args, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 146, in test_reading_from_open_file_in_text_mode
cat = read_events(fh)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 172, in test_reading_the_same_file_twice_does_not_raise_a_warnings
cat_1 = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 101, in test_reading_using_obspy_plugin
cat = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 297, in test_reading_event_with_faulty_but_often_occurring_timestamp
cat = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/ndk/tests/test_ndk.py", line 220, in test_reading_file_with_multiple_errors
cat = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 48, in test_read_fnetmt_catalog_from_bytes_io
read_events(buf)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/tests/test_fnetmt_reading.py", line 36, in test_read_fnetmt_catalog_from_open_files
read_events(fh)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.nied.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/__init__.py", line 0, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/__init__.py", line 22, in obspy.io.nied.__init__
Failed example:
cat = obspy.read_events("/path/to/FNETMTCATALOG")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/FNETMTCATALOG")
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/__init__.py", line 23, in obspy.io.nied.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nied/__init__.py", line 29, in obspy.io.nied.__init__
Failed example:
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.nied.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
NameError: name 'cat' is not defined
>>> Cannot import test suite for module obspy.io.nordic due to:
---------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/bin/coverage", line 6, in <module>
sys.exit(coverage.cmdline.main())
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/coverage/cmdline.py", line 741, in main
status = CoverageScript().command_line(argv)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/coverage/cmdline.py", line 481, in command_line
return self.do_run(options, args)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/coverage/cmdline.py", line 617, in do_run
self.run_python_module(args[0], args)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/coverage/execfile.py", line 113, in run_python_module
run_python_file(pathname, args, package=packagename, modulename=modulename, path0="")
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/coverage/execfile.py", line 177, in run_python_file
exec(code, main_mod.__dict__)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/scripts/runtests.py", line 757, in <module>
errors = run(interactive=False)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/scripts/runtests.py", line 715, in run
pr_url=args.pr_url)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/scripts/runtests.py", line 542, in run_tests
suites, status, import_failures = _get_suites(verbosity, tests)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/scripts/runtests.py", line 164, in _get_suites
suite.append(ut.loadTestsFromName(test, None))
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/unittest/loader.py", line 142, in loadTestsFromName
test = obj()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/tests/__init__.py", line 16, in suite
add_doctests(suite, MODULE_NAME)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/testing.py", line 120, in add_doctests
fromlist=[native_str("obspy")])
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/pde/tests/test_mchedr.py", line 330, in test_read_events
catalog = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.pde.mchedr._read_mchedr
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/pde/mchedr.py", line 1, in _read_mchedr
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/pde/mchedr.py", line 19, in obspy.io.pde.mchedr._read_mchedr
Failed example:
cat = read_events('/path/to/mchedr.dat')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.pde.mchedr._read_mchedr[1]>", line 1, in <module>
cat = read_events('/path/to/mchedr.dat')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/pde/mchedr.py", line 20, in obspy.io.pde.mchedr._read_mchedr
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.pde.mchedr._read_mchedr[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/tests/test_core.py", line 95, in test_read_and_write_scardec_from_open_files
cat = obspy.read_events(fh)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/tests/test_core.py", line 45, in test_read_and_write_scardec_from_files
cat = obspy.read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/tests/test_core.py", line 141, in test_read_and_write_scardec_from_bytes_io
cat = obspy.read_events(buf)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.scardec.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/__init__.py", line 2, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/__init__.py", line 22, in obspy.io.scardec.__init__
Failed example:
cat = obspy.read_events("/path/to/test.scardec")
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.scardec.__init__[1]>", line 1, in <module>
cat = obspy.read_events("/path/to/test.scardec")
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/__init__.py", line 23, in obspy.io.scardec.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.scardec.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/scardec/__init__.py", line 29, in obspy.io.scardec.__init__
Failed example:
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.scardec.__init__[3]>", line 1, in <module>
print(cat[0]) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/tests/test_event.py", line 119, in test_sc3ml_versions
read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/tests/test_event.py", line 351, in test_read_and_write
catalog = read_events(filename)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/tests/test_event.py", line 234, in test_read_string
catalog = read_events(data)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 667, in _generic_reader
generic = callback_func(pathname_or_url, **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 150, in uncompress_file
return func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.seiscomp.event._read_sc3ml
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/event.py", line 31, in _read_sc3ml
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/event.py", line 57, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
cat = read_events('/path/to/iris_events.sc3ml')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.seiscomp.event._read_sc3ml[1]>", line 1, in <module>
cat = read_events('/path/to/iris_events.sc3ml')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/seiscomp/event.py", line 58, in obspy.io.seiscomp.event._read_sc3ml
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.seiscomp.event._read_sc3ml[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/sh/tests/test_evt.py", line 48, in test_tele_event1
cat = read_events(fname)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/sh/tests/test_evt.py", line 99, in test_populate_waveform_id
id_map={'UBR': 'BLB.{}.00.BH{}'})[0].picks
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/sh/tests/test_evt.py", line 31, in test_local_event2
cat = read_events(fname)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/sh/tests/test_evt.py", line 54, in test_tele_event2
cat = read_events(fname)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/sh/tests/test_evt.py", line 26, in test_local_event1
cat = read_events(fname)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/shapefile/tests/test_core.py", line 228, in test_write_catalog_shapefile_with_extra_field
cat = read_events('/path/to/mchedr.dat')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/shapefile/tests/test_core.py", line 340, in test_write_catalog_shapefile_via_plugin
cat = read_events('/path/to/mchedr.dat')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/shapefile/tests/test_core.py", line 190, in test_write_catalog_shapefile
cat = read_events('/path/to/mchedr.dat')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 2187, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.io.zmap.__init__
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/zmap/__init__.py", line 1, in __init__
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/zmap/__init__.py", line 22, in obspy.io.zmap.__init__
Failed example:
cat = read_events('/path/to/zmap_events.txt')
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.zmap.__init__[1]>", line 1, in <module>
cat = read_events('/path/to/zmap_events.txt')
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax
----------------------------------------------------------------------
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/zmap/__init__.py", line 23, in obspy.io.zmap.__init__
Failed example:
print(cat)
Exception raised:
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/doctest.py", line 1318, in __run
compileflags, 1), test.globs)
File "<doctest obspy.io.zmap.__init__[2]>", line 1, in <module>
print(cat)
NameError: name 'cat' is not defined
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/zmap/tests/test_zmap.py", line 236, in test_read
catalog = read_events(f.name)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-46>", line 2, in read_events
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 812, in read_events
return _generic_reader(pathname_or_url, _read, format=format, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 699, in _generic_reader
generic = callback_func(pathnames[0], **kwargs)
File "</home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/decorator.py:decorator-gen-47>", line 2, in _read
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/decorator.py", line 210, in uncompress_file
result = func(filename, *args, **kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/event/catalog.py", line 821, in _read
**kwargs)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/base.py", line 432, in _read_from_plugin
'isFormat')
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/core/util/misc.py", line 644, in buffered_load_entry_point
_ENTRY_POINT_CACHE[hash_str] = load_entry_point(dist, group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2598, in load_entry_point
return ep.load()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2258, in load
return self.resolve()
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 2264, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/core.py", line 44, in <module>
from obspy.io.nordic.ellipse import Ellipse
File "/home/travis/miniconda/envs/test-environment/lib/python3.4/site-packages/obspy/io/nordic/ellipse.py", line 200
s = f'<a={self.a:.3g}, b={self.b:.3g}'
^
SyntaxError: invalid syntax

Skipped Tests (23)

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) Formatting tests require at least flake8 3.0.
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) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) matplotlib 3.0.1 is not compatible with basemap
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryCartopyTestCase) cartopy not installed
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) matplotlib 3.0.1 is not campatible with basemap
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) matplotlib 3.0.1 is not campatible with basemap
geodetics test_gps_2_dist_azimuth_bug150 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is installed, not using calc_vincenty_inverse

Slowest Tests (20)

Runtime Test
12.654s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
11.295s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
8.814s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
7.366s __init__ (obspy.taup)
5.856s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
5.020s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
4.709s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)
4.065s test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.046s test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)
4.002s test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.975s test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)
3.907s test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.851s test_plot_default_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.824s test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.819s test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.790s test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.772s test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.756s test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)
3.544s plot_travel_times (obspy.taup.tau)
3.204s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)

Chuck Norris Fact

For Chuck Norris, NP-Hard = O(1).