Home | History | Annotate | Download | only in test

Lines Matching defs:check

31     def check(self, result, expect):
38 self.check(result, expect)
70 # Check that wrapping the empty string returns an empty list.
75 # Check that the empty string is not indented.
98 self.check(result, expect)
101 self.check(result, '\n'.join(expect))
111 self.check(wrapper.wrap(text), expect)
118 self.check(wrapper.wrap(text), expect)
121 self.check(wrapper.wrap(text), expect)
125 self.check(wrapper.wrap(text), expect)
129 self.check(wrapper.wrap(text), expect)
135 self.check(wrapper.wrap(text), expect)
139 self.check(wrapper.wrap(text), expect)
143 self.check(wrapper.wrap(text), expect)
336 # Check that drop_whitespace=False preserves whitespace.
345 # Check that drop_whitespace=False preserves a whitespace-only string.
349 # Check that a whitespace-only string gets indented (when
355 # Check drop_whitespace on a whitespace-only string.
359 # Check that drop_whitespace does not drop leading whitespace (if
370 # Check that drop_whitespace skips the whole line if a non-leading
379 # Check that initial_indent is not applied to a whitespace-only
385 # Check that drop_whitespace does not drop whitespace indents.
420 self.check(result,
493 self.check(result, expect)
497 self.check(result, expect)
518 self.check(result, expect)
528 self.check(result, expect)
532 self.check(result, expect)
546 self.check(result, expect)