1568989206[('10.552s', '__init__ (obspy.taup)'), ('9.804s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('8.842s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('8.639s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('5.621s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('5.407s', 'test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('4.852s', 'plot_travel_times (obspy.taup.tau)'), ('4.461s', 'test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('4.035s', 'test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('3.237s', 'test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('2.880s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('2.814s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('2.740s', 'test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.723s', 'test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)'), ('2.701s', 'test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.658s', 'test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.647s', 'test_plot_azim_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.629s', 'test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.617s', 'test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.614s', 'read (obspy.core.stream)')]242.58261656761171.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.7088212966918945True601.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f71.1.1.post0+834.gce1de112f736.970728635787964True66022Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/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.7/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'
1.1.1.post0+834.gce1de112f70.09853482246398926True901.1.1.post0+834.gce1de112f70.16510462760925293True1811.1.1.post0+834.gce1de112f746.7824592590332True7711.1.1.post0+834.gce1de112f70.1261603832244873True501.1.1.post0+834.gce1de112f72.2508974075317383True401.1.1.post0+834.gce1de112f70.19465303421020508True2801.1.1.post0+834.gce1de112f70.0852200984954834True1001.1.1.post0+834.gce1de112f70.024449586868286133True101.1.1.post0+834.gce1de112f70.6625173091888428True701.1.1.post0+834.gce1de112f70.12847280502319336True801.1.1.post0+834.gce1de112f70.03706645965576172True901.1.1.post0+834.gce1de112f70.5985016822814941True5501.1.1.post0+834.gce1de112f71.0358858108520508True701.1.1.post0+834.gce1de112f70.044637441635131836True401.1.1.post0+834.gce1de112f70.6926703453063965True701.1.1.post0+834.gce1de112f70.1618664264678955True301.1.1.post0+834.gce1de112f72.293086290359497True12501.1.1.post0+834.gce1de112f70.48673129081726074True2001.1.1.post0+834.gce1de112f70.07504677772521973True1101.1.1.post0+834.gce1de112f70.18395709991455078True1201.1.1.post0+834.gce1de112f71.4601869583129883True500Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/nordic/tests/test_nordic.py", line 956, in test_ellipse_plot
Ellipse(20, 10, 90).plot(outfile=ic.name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 198, in compare_images
expected_image = matplotlib.image.imread(native_str(expected))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/image.py", line 1390, in read_png
return _png.read_png(*args, **kwargs)
ValueError: invalid PNG header
Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/io/nordic/tests/test_nordic.py", line 976, in test_ellipse_plot_tangents
outfile=ic.name)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 542, in compare
return compare_images(self.baseline_image, self.name, tol=self.tol)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/obspy/core/util/testing.py", line 198, in compare_images
expected_image = matplotlib.image.imread(native_str(expected))
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/matplotlib/image.py", line 1390, in read_png
return _png.read_png(*args, **kwargs)
ValueError: invalid PNG header
1.1.1.post0+834.gce1de112f70.009935379028320312True301.1.1.post0+834.gce1de112f70.4158945083618164True1301.1.1.post0+834.gce1de112f70.6827523708343506True3701.1.1.post0+834.gce1de112f70.2551870346069336True2001.1.1.post0+834.gce1de112f70.05007147789001465True401.1.1.post0+834.gce1de112f70.5586886405944824True9501.1.1.post0+834.gce1de112f70.09448862075805664True501.1.1.post0+834.gce1de112f70.04827880859375True201.1.1.post0+834.gce1de112f70.7657580375671387True5601.1.1.post0+834.gce1de112f70.10620260238647461True801.1.1.post0+834.gce1de112f71.7835540771484375True4501.1.1.post0+834.gce1de112f70.5233089923858643True2501.1.1.post0+834.gce1de112f70.5754258632659912True701.1.1.post0+834.gce1de112f70.1011667251586914True1101.1.1.post0+834.gce1de112f70.561713457107544True2101.1.1.post0+834.gce1de112f70.03259134292602539True801.1.1.post0+834.gce1de112f70.12776446342468262True201.1.1.post0+834.gce1de112f712.926573276519775True8201.1.1.post0+834.gce1de112f70.020002126693725586True501.1.1.post0+834.gce1de112f70.26682496070861816True1401.1.1.post0+834.gce1de112f70.6244127750396729True2201.1.1.post0+834.gce1de112f70.0181424617767334True201.1.1.post0+834.gce1de112f751.57207131385803True19811.1.1.post0+834.gce1de112f774.19415140151978True6400.17.11.17.21.3.13.1.14.4.141.2.01.3.84.4.02.22.0---0.5.21.9.6------2.1.01.2.13.0.5---1.49---Linux4.15.0-1028-gcp#29~16.04.1-Ubuntu SMP Tue Feb 12 16:31:10 UTC 2019x86_64x86_643.7.3CPythonGCC 7.3.064bittravis-ci18853025[('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'Formatting tests require at least flake8 3.0.'), ('core', 'obspy.core.tests.test_network', 'NetworkBasemapTestCase', 'test_location_plot_global', 'unsupported proj4 library'), ('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'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_combined_station_event_plot', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_global', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_local', 'matplotlib 3.0.1 is not compatible with basemap'), ('core', 'obspy.core.tests.test_inventory', 'InventoryBasemapTestCase', 'test_location_plot_ortho', 'matplotlib 3.0.1 is not compatible with basemap'), ('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_event', 'CatalogBasemapTestCase', 'test_catalog_plot_global', 'matplotlib 3.0.1 is not campatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_local', 'matplotlib 3.0.1 is not campatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_ortho', 'matplotlib 3.0.1 is not campatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_catalog_plot_ortho_longitude_wrap', 'matplotlib 3.0.1 is not campatible with basemap'), ('core', 'obspy.core.tests.test_event', 'CatalogBasemapTestCase', 'test_plot_catalog_before_1900', 'matplotlib 3.0.1 is not campatible with basemap'), ('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_event', 'EventTestCase', 'test_plot_farfield_without_quiver_with_maps', 'matplotlib 3.0.1 is not campatible with basemap'), ('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.'), ('signal', 'obspy.signal.tests.test_spectral_estimation', 'PsdTestCase', 'test_ppsd_spectrogram_plot', 'matplotlib >= 3 shifts labels')]https://travis-ci.org/obspy/obspy/jobs/587503171https://github.com/obspy/obspy/pull/2451