1568988988[('11.034s', '__init__ (obspy.taup)'), ('10.722s', 'test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)'), ('9.269s', 'test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('8.452s', 'test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)'), ('5.741s', 'test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('5.711s', 'test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)'), ('5.266s', 'plot_travel_times (obspy.taup.tau)'), ('4.608s', 'test_vs_java_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('4.247s', 'test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)'), ('3.455s', 'test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase)'), ('3.339s', 'test_many_identically_named_phases (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)'), ('3.145s', 'test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)'), ('3.030s', 'test_correlate_stream_template_and_correlation_detector (obspy.signal.tests.test_cross_correlation.CrossCorrelationTestCase)'), ('2.987s', 'test_polarization_vidale (obspy.signal.tests.test_polarization.PolarizationTestCase)'), ('2.867s', 'test_plot_wiggles_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.866s', 'test_plot_wiggles_vertical_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.848s', 'test_plot_wiggles_negative_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.794s', 'test_plot_wiggles_positive_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.737s', 'test_plot_ref_time_section (obspy.imaging.tests.test_waveform.WaveformTestCase)'), ('2.731s', 'test_plot_horizontal_section (obspy.imaging.tests.test_waveform.WaveformTestCase)')]261.50018048286441.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.9005424976348877True601.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.gce1de112f743.06704354286194True66021Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.10840535163879395True901.1.1.post0+834.gce1de112f70.17911601066589355True1811.1.1.post0+834.gce1de112f749.370035886764526True7711.1.1.post0+834.gce1de112f70.14041495323181152True501.1.1.post0+834.gce1de112f72.465445041656494True401.1.1.post0+834.gce1de112f70.22097253799438477True2801.1.1.post0+834.gce1de112f70.11203789710998535True1001.1.1.post0+834.gce1de112f70.030148983001708984True101.1.1.post0+834.gce1de112f70.7529313564300537True701.1.1.post0+834.gce1de112f70.1830291748046875True801.1.1.post0+834.gce1de112f70.04167747497558594True901.1.1.post0+834.gce1de112f70.7787418365478516True5501.1.1.post0+834.gce1de112f71.312507152557373True701.1.1.post0+834.gce1de112f70.04968619346618652True401.1.1.post0+834.gce1de112f70.7104675769805908True701.1.1.post0+834.gce1de112f70.17762541770935059True301.1.1.post0+834.gce1de112f72.435292959213257True12501.1.1.post0+834.gce1de112f70.6003999710083008True2001.1.1.post0+834.gce1de112f70.0890967845916748True1101.1.1.post0+834.gce1de112f70.21859169006347656True1201.1.1.post0+834.gce1de112f71.9331731796264648True500Traceback (most recent call last):
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.6/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.6/site-packages/obspy/core/util/testing.py", line 442, in __exit__
msg = self.compare()
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.6/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.6/site-packages/matplotlib/image.py", line 1434, in imread
return handler(fd)
File "/home/travis/miniconda/envs/test-environment/lib/python3.6/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.011402368545532227True301.1.1.post0+834.gce1de112f70.5364663600921631True1301.1.1.post0+834.gce1de112f70.8483150005340576True3701.1.1.post0+834.gce1de112f70.30097484588623047True2001.1.1.post0+834.gce1de112f70.05477166175842285True401.1.1.post0+834.gce1de112f70.6219174861907959True9501.1.1.post0+834.gce1de112f70.1086122989654541True501.1.1.post0+834.gce1de112f70.055005788803100586True201.1.1.post0+834.gce1de112f70.8411073684692383True5601.1.1.post0+834.gce1de112f70.12319087982177734True801.1.1.post0+834.gce1de112f72.0221424102783203True4501.1.1.post0+834.gce1de112f70.6553876399993896True2501.1.1.post0+834.gce1de112f70.6770970821380615True701.1.1.post0+834.gce1de112f70.11092257499694824True1101.1.1.post0+834.gce1de112f70.6111190319061279True2101.1.1.post0+834.gce1de112f70.03911566734313965True801.1.1.post0+834.gce1de112f70.13442301750183105True201.1.1.post0+834.gce1de112f714.123414993286133True8201.1.1.post0+834.gce1de112f70.020216941833496094True501.1.1.post0+834.gce1de112f70.3293464183807373True1401.1.1.post0+834.gce1de112f70.6644597053527832True2201.1.1.post0+834.gce1de112f70.01897597312927246True201.1.1.post0+834.gce1de112f753.83385992050171True19811.1.1.post0+834.gce1de112f777.88055157661438True6400.17.11.17.21.3.13.1.14.4.141.2.01.3.84.4.02.22.0---0.5.21.9.5.1------2.1.01.1.03.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.6.7CPythonGCC 7.3.064bittravis-ci18853024[('core', 'obspy.core.tests.test_code_formatting', 'CodeFormattingTestCase', 'test_flake8', 'Formatting tests require at least flake8 3.0.'), ('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/587503170https://github.com/obspy/obspy/pull/2451