With [2050] I managed to run all tests without any errors raised, but there are a few warnings which imho didn't show up on Python 2.6.x: {{{ ...
test_mergePreviews2 (obspy.core.tests.test_preview.UtilTestCase) ... Warning: invalid value encountered in maximum ok
test_packSEGYData (obspy.segy.tests.test_segy.SEGYTestCase) ... Warning: divide by zero encountered in log10 Warning: invalid value encountered in divide Warning: invalid value encountered in less ok
test_readAndWriteSEGY (obspy.segy.tests.test_segy.SEGYTestCase) ... Warning: divide by zero encountered in log10 Warning: invalid value encountered in divide Warning: invalid value encountered in less ok
test_array_transff_freqslowness (obspy.signal.tests.test_sonic.SonicTestCase) ... d:\workspace\obspy\obspy.signal\trunk\obspy\signal\array_analysis.py:1134: ComplexWarning: Casting complex values to real discards the imaginary part - coords[l, 1] * sy) * 2 * np.pi * f)) ok
test_array_transff_wavenumber (obspy.signal.tests.test_sonic.SonicTestCase) ... d:\workspace\obspy\obspy.signal\trunk\obspy\signal\array_analysis.py:1080: ComplexWarning: Casting complex values to real discards the imaginary part coords[k, 0] * kx + coords[k, 1] * ky)) ok
...
Ran 432 tests in 20.936s
OK
}}}
该提问来源于开源项目:obspy/obspy