diff --git a/madarrays/tests/test_waveform.py b/madarrays/tests/test_waveform.py
index cf8a21c41c96d0ac5a6793fe55a27715e1bb4421..fb3d7ab0279554abc7ee28d2b07a7818aa5a95a5 100644
--- a/madarrays/tests/test_waveform.py
+++ b/madarrays/tests/test_waveform.py
@@ -265,10 +265,12 @@ class TestWaveform:
 
         # Floating values with ratios that are exact rationals
         for (old_fs, new_fs) in [(1, 1.5), (0.5, 3), (100.1, 200.2)]:
+            print('Testing resampling {}/{}, signal length = {}'
+                  .format(new_fs, old_fs, w.shape[0]))
             w = Waveform(self.x_mono, fs=old_fs)
             w.resample(fs=new_fs)
             assert w.fs == new_fs
-            assert w.length == int(np.floor(new_fs * self.length / old_fs))
+            assert w.length == int(new_fs * self.length / old_fs)
 
         # Floating values with ratios that are not well approximated
         # by rationals
@@ -279,7 +281,7 @@ class TestWaveform:
             w.resample(fs=new_fs)
             np.testing.assert_almost_equal(w.fs, new_fs)
             np.testing.assert_almost_equal(
-                w.length, int(np.floor(new_fs * self.length / old_fs)))
+                w.length, int(new_fs * self.length / old_fs))
 
         # Negative frequency sampling
         with pytest.raises(