1513043490[('34.021s', 'test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase)'), ('19.219s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('18.903s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('14.425s', '__init__ (obspy.taup)'), ('12.063s', 'test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('11.923s', 'test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)'), ('11.844s', 'test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('11.322s', 'test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('10.779s', 'test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('9.310s', 'test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('9.042s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('7.318s', 'test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase)'), ('7.313s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('6.870s', 'test_data_remains_unchanged (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('6.760s', 'test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase)'), ('6.575s', 'plot_travel_times (obspy.taup.tau)'), ('6.563s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('6.529s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('6.150s', 'test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase)'), ('6.037s', 'test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)')]540.40705537796021.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f5.990978717803955True601.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f1.1.0.post0+66.g9accb7f65f185.10445618629456True58111Traceback (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+66.g9accb7f65f0.2660801410675049True901.1.0.post0+66.g9accb7f65f0.28838396072387695True1811.1.0.post0+66.g9accb7f65f97.48627805709839True7611.1.0.post0+66.g9accb7f65f0.21759295463562012True501.1.0.post0+66.g9accb7f65f4.066812992095947True401.1.0.post0+66.g9accb7f65f3.7839736938476562True2701.1.0.post0+66.g9accb7f65f0.14883899688720703True901.1.0.post0+66.g9accb7f65f0.05704092979431152True101.1.0.post0+66.g9accb7f65f1.8392887115478516True701.1.0.post0+66.g9accb7f65f0.05436086654663086True901.1.0.post0+66.g9accb7f65f1.1415438652038574True5501.1.0.post0+66.g9accb7f65f1.8348050117492676True701.1.0.post0+66.g9accb7f65f0.07409882545471191True401.1.0.post0+66.g9accb7f65f1.2989881038665771True701.1.0.post0+66.g9accb7f65f0.31420207023620605True301.1.0.post0+66.g9accb7f65f5.358424186706543True11501.1.0.post0+66.g9accb7f65f0.9511051177978516True2001.1.0.post0+66.g9accb7f65f0.1302661895751953True1101.1.0.post0+66.g9accb7f65f0.40000104904174805True1101.1.0.post0+66.g9accb7f65f1.9344031810760498True3101.1.0.post0+66.g9accb7f65f0.011484861373901367True301.1.0.post0+66.g9accb7f65f1.031235933303833True1301.1.0.post0+66.g9accb7f65f1.3673298358917236True3401.1.0.post0+66.g9accb7f65f0.4225027561187744True1801.1.0.post0+66.g9accb7f65f1.0645780563354492True9401.1.0.post0+66.g9accb7f65f0.17057108879089355True401.1.0.post0+66.g9accb7f65f0.06721377372741699True101.1.0.post0+66.g9accb7f65f1.2282209396362305True5401.1.0.post0+66.g9accb7f65f0.20120811462402344True801.1.0.post0+66.g9accb7f65f2.122954845428467True4201.1.0.post0+66.g9accb7f65f0.6163277626037598True1901.1.0.post0+66.g9accb7f65f0.9739961624145508True601.1.0.post0+66.g9accb7f65f0.17617201805114746True1101.1.0.post0+66.g9accb7f65f0.6783750057220459True2001.1.0.post0+66.g9accb7f65f0.06450104713439941True801.1.0.post0+66.g9accb7f65f0.09658479690551758True201.1.0.post0+66.g9accb7f65f26.510133981704712True8001.1.0.post0+66.g9accb7f65f0.02472710609436035True501.1.0.post0+66.g9accb7f65f0.6003217697143555True1401.1.0.post0+66.g9accb7f65f1.1564741134643555True2201.1.0.post0+66.g9accb7f65f0.02867889404296875True201.1.0.post0+66.g9accb7f65f88.8925359249115True17501.1.0.post0+66.g9accb7f65f100.1590027809143True6400.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/315097109https://github.com/obspy/obspy/pull/2023