scipy.signal.resample pukes if you give it a close-to-one resampling ratio.