From 0922714bacfa308a4d7b7c8167146efc52846abe Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Wed, 4 May 2016 14:32:20 -0400 Subject: [PATCH] DOC: Clarify test docstrings. --- tests/pipeline/test_adjusted_array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pipeline/test_adjusted_array.py b/tests/pipeline/test_adjusted_array.py index 11fb5130..b645079d 100644 --- a/tests/pipeline/test_adjusted_array.py +++ b/tests/pipeline/test_adjusted_array.py @@ -127,7 +127,7 @@ def _gen_multiplicative_adjustment_cases(dtype): Generate expected moving windows on a buffer with adjustments. We proceed by constructing, at each row, the view of the array we expect in - in all windows anchored on or after that row. + in all windows anchored on that row. In general, if we have an adjustment to be applied once we process the row at index N, should see that adjustment applied to the underlying buffer for @@ -211,7 +211,7 @@ def _gen_overwrite_adjustment_cases(name, multiplicative adjustments. The only difference is the semantics of how the adjustments are expected to modify the arrays. - This is parameterized on `make_input` and make_expected_output functions, + This is parameterized on `make_input` and `make_expected_output` functions, which take 2-D lists of values and transform them into desired input/output arrays. We do this so that we can easily test both vanilla numpy ndarrays and our own LabelArray class for strings.