1513216533[('34.432s', 'test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)'), ('18.441s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('14.628s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('13.977s', '__init__ (obspy.taup)'), ('12.952s', 'test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('12.265s', 'test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('11.986s', 'test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('11.825s', 'test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)'), ('11.764s', 'test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('9.938s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('9.566s', 'test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('7.389s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('7.070s', 'test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('6.790s', 'plot_travel_times (obspy.taup.tau)'), ('6.743s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('6.669s', 'test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('6.583s', 'test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('6.488s', 'test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase)'), ('6.287s', 'test_plot_colored_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('5.780s', 'test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)')]547.75305080413821.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb5.724794864654541True601.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb1.1.0.post0+70.gb197440bdb187.00390195846558True58111Traceback (most recent call last):
File "/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/tests/test_code_formatting.py", line 269, in test_no_pyplot_import_in_any_file
self.assertEqual(len(failures), 0, "\n" + "\n\n".join(failures))
AssertionError: 1 != 0 :
File '/Users/travis/miniconda/envs/test-environment/lib/python3.6/site-packages/obspy/core/inventory/util.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'
1.1.0.post0+70.gb197440bdb0.40619611740112305True901.1.0.post0+70.gb197440bdb0.34243202209472656True1811.1.0.post0+70.gb197440bdb107.82944631576538True7611.1.0.post0+70.gb197440bdb0.25757479667663574True501.1.0.post0+70.gb197440bdb4.38222599029541True401.1.0.post0+70.gb197440bdb0.4669759273529053True2701.1.0.post0+70.gb197440bdb0.18602418899536133True901.1.0.post0+70.gb197440bdb0.09358096122741699True101.1.0.post0+70.gb197440bdb1.94138503074646True701.1.0.post0+70.gb197440bdb0.06316208839416504True901.1.0.post0+70.gb197440bdb1.267158031463623True5501.1.0.post0+70.gb197440bdb2.1127421855926514True701.1.0.post0+70.gb197440bdb0.1163167953491211True401.1.0.post0+70.gb197440bdb1.6956439018249512True701.1.0.post0+70.gb197440bdb0.3552091121673584True301.1.0.post0+70.gb197440bdb7.956283807754517True11501.1.0.post0+70.gb197440bdb1.078019142150879True2001.1.0.post0+70.gb197440bdb0.18238306045532227True1101.1.0.post0+70.gb197440bdb0.7318358421325684True1101.1.0.post0+70.gb197440bdb2.1710598468780518True3101.1.0.post0+70.gb197440bdb0.013502120971679688True301.1.0.post0+70.gb197440bdb0.9942817687988281True1301.1.0.post0+70.gb197440bdb1.4427931308746338True3401.1.0.post0+70.gb197440bdb0.48668718338012695True1801.1.0.post0+70.gb197440bdb1.3731379508972168True9401.1.0.post0+70.gb197440bdb0.16716885566711426True401.1.0.post0+70.gb197440bdb0.07300186157226562True101.1.0.post0+70.gb197440bdb1.3299360275268555True5401.1.0.post0+70.gb197440bdb0.2051999568939209True801.1.0.post0+70.gb197440bdb2.16499924659729True4201.1.0.post0+70.gb197440bdb0.6372048854827881True1901.1.0.post0+70.gb197440bdb1.0213890075683594True601.1.0.post0+70.gb197440bdb0.15924501419067383True1101.1.0.post0+70.gb197440bdb0.7485408782958984True2001.1.0.post0+70.gb197440bdb0.07705283164978027True801.1.0.post0+70.gb197440bdb0.10461091995239258True201.1.0.post0+70.gb197440bdb25.68899393081665True8001.1.0.post0+70.gb197440bdb0.025162935256958008True501.1.0.post0+70.gb197440bdb0.6408030986785889True1401.1.0.post0+70.gb197440bdb1.020618200302124True2201.1.0.post0+70.gb197440bdb0.02797389030456543True201.1.0.post0+70.gb197440bdb81.21968007087708True17501.1.0.post0+70.gb197440bdb101.76671504974365True6400.16.01.13.31.0.02.0.24.1.136.5.0.post201709211.1.134.1.22.18.4---0.5.21.9.5.1------1.2.121.0.72.0.0---1.49---Darwin16.7.0Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64x86_64i3863.6.3CPythonGCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)64bittravis-ci17151013[('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'Formatting tests require at least flake8 3.0.'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_global', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_local', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_ortho', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_event', 'CatalogCartopyTestCase', 'test_catalog_plot_ortho_longitude_wrap', 'Cartopy not installed or too old'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_global', 'cartopy not installed'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_local', 'cartopy not installed'), ('core', 'obspy.core.tests.test_inventory', 'InventoryCartopyTestCase', 'test_location_plot_ortho', 'cartopy not installed'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_global', 'cartopy not installed'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_local', 'cartopy not installed'), ('core', 'obspy.core.tests.test_network', 'NetworkCartopyTestCase', 'test_location_plot_ortho', 'cartopy not installed'), ('geodetics', 'obspy.geodetics.tests.test_util_geodetics', 'UtilGeodeticsTestCase', 'test_gps_2_dist_azimuth_bug150', 'Module geographiclib is installed, not using calc_vincenty_inverse'), ('imaging', 'obspy.imaging.tests.test_mopad_script', 'MopadTestCase', 'test_script_plot', 'Currently broken until further review.')]https://travis-ci.org/obspy/obspy/jobs/316186417https://github.com/obspy/obspy/pull/2023