diff --git a/obspy/core/tests/test_waveform_plugins.py b/obspy/core/tests/test_waveform_plugins.py index f9c3b423242..1c97c826f1a 100644 --- a/obspy/core/tests/test_waveform_plugins.py +++ b/obspy/core/tests/test_waveform_plugins.py @@ -192,6 +192,8 @@ def test_readThreadSafe(self): if format in ['SEGY', 'SU', 'SEG2']: continue + print('=' * 60) + print(format) yappi.clear_stats() yappi.set_clock_type('wall') yappi.start() @@ -243,6 +245,8 @@ def testFunction(streams, cond): msg = 'Not all threads finished after %d seconds!' % ( timeout) print(msg, file=sys.stderr) + yappi.get_func_stats().print_all() + yappi.get_thread_stats().print_all() start = time.time() # Compare all values which should be identical and clean up # files @@ -253,8 +257,6 @@ def testFunction(streams, cond): os.remove(outfile[:-4] + '.QHD') yappi.stop() - print('=' * 60) - print(format) yappi.get_func_stats().print_all() yappi.get_thread_stats().print_all()