Skip to content

Commit 9925348

Browse files
committed
Small test docstring change
1 parent f6af0da commit 9925348

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

_delphi_utils_python/tests/test_smooth.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ def test_causal_savgol_smoother(self):
9797

9898
# The savgol method should match the linear regression method on the first
9999
# window_length-many values of the signal, if the savgol_weighting is set to true,
100-
# and the polynomial fit degree is set to 1.
100+
# and the polynomial fit degree is set to 1. Beyond that, there will be very small
101+
# differences between the signals (due to "left_gauss_linear" not having a window_length
102+
# cutoff).
101103
window_length = 20
102104
signal = np.arange(window_length) + np.random.randn(window_length)
103105
smoother = Smoother(smoother_name="left_gauss_linear")
@@ -172,6 +174,7 @@ def test_impute(self):
172174

173175
# test the boundary methods
174176
signal = np.arange(20)
175-
smoother = Smoother(smoother_name="savgol", poly_fit_degree=0, boundary_method="identity", window_length=10)
177+
smoother = Smoother(smoother_name="savgol", poly_fit_degree=0,
178+
boundary_method="identity", window_length=10)
176179
smoothed_signal = smoother.savgol_impute(signal)
177180
assert np.allclose(smoothed_signal, signal)

0 commit comments

Comments
 (0)