Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython2
/
064ee4d28cbc39da8d0a872b71dd8c2b72cdfa9d
/
Lib
/
test
/
test_textwrap.py
fbe04b6
Issue #21827: Fixed textwrap.dedent() for the case when largest common
by Serhiy Storchaka
· 10 years ago
1b6e7c4
#15510: clarify textwrap's handling of whitespace, and add confirming tests.
by R David Murray
· 13 years ago
2623a37
Merged revisions 86596 via svnmerge from
by Ezio Melotti
· 15 years ago
b0f5adc
use assert[Not]IsInstance where appropriate
by Ezio Melotti
· 16 years ago
74af3bb
Issue #4163: Use unicode-friendly word splitting in the textwrap functions when given an unicode string.
by Antoine Pitrou
· 17 years ago
6f95ae5
#2659: add ``break_on_hyphens`` to TextWrapper.
by Georg Brandl
· 17 years ago
fe536f5
Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill.
by Mark Dickinson
· 17 years ago
c6fde72
Fix #1146: TextWrap vs words 1-character shorter than the width.
by Georg Brandl
· 18 years ago
9e6b470
Patch #1581073: add a flag to textwrap that prevents the dropping of
by Georg Brandl
· 18 years ago
4f96f1f
Whitespace normalization.
by Tim Peters
· 19 years ago
7f54740
Bug #1361643: fix textwrap.dedent() so it handles tabs appropriately,
by Greg Ward
· 19 years ago
4e41a4b
Disable a few other tests, that can't work if Python is compiled without
by Walter Dörwald
· 20 years ago
4040794
SF #1149508: ensure textwrap handles hyphenated numbers correctly,
by Greg Ward
· 20 years ago
27f8836
Whitespace normalization.
by Tim Peters
· 21 years ago
6186410
SF #965425: fix so hyphenated words surrounded by punctuation are
by Greg Ward
· 21 years ago
f0ba764
SF #847346: merge from release23-maint branch: remove misguided
by Greg Ward
· 21 years ago
7a70ea4
SF patch #806246: use basestring where possible
by Raymond Hettinger
· 22 years ago
c11dbcd
SF bug 797650: Infinite loop in textwrap.py
by Raymond Hettinger
· 22 years ago
9e082f4
Add DedentTestCase to test dedent() function.
by Greg Ward
· 22 years ago
cc55cb9
SF #596434: add test_funky_parens() to probe some more of the tricky
by Greg Ward
· 22 years ago
4912857
SF #726446: ensure wrap() raises ValueError when width <= 0.
by Greg Ward
· 22 years ago
21d3a32
Combine the functionality of test_support.run_unittest()
by Walter Dörwald
· 22 years ago
c7e3c5e
Add test_unicode() to ensure that 1) textwrap doesn't crash on unicode
by Greg Ward
· 23 years ago
24cbbcb
Added test_initial_whitespace() to ensure that SF bug #622849 is fixed.
by Greg Ward
· 23 years ago
d1a72a0
Ad test_funky_hyphens() to test some screwy edge cases reported in SF
by Greg Ward
· 23 years ago
eb287a2
Fix an endcase bug: initial_indent was ignored when the text was short
by Guido van Rossum
· 23 years ago
c6edb37
Test an em-dash with adjacent punctuation.
by Greg Ward
· 23 years ago
715debd
Factored out BaseTestCase.check_split() method -- use it wherever
by Greg Ward
· 23 years ago
24a1c9c
Test _split() method in test_unix_options().
by Greg Ward
· 23 years ago
34f995b
Add test_unix_options() to WrapTestCase to test for SF bug #596434.
by Greg Ward
· 23 years ago
327af77
Standardize behavior: no docstrings in test functions. Also strip
by Guido van Rossum
· 23 years ago
9ad15a3
Add test_em_dash() to WrapTestCase to make sure that TextWrapper handles
by Greg Ward
· 23 years ago
f69d3c9
Simplification/cleanup in IndentTestCases.
by Greg Ward
· 23 years ago
fd030e4
Factor LongWordTestCase out of WrapTestCase, and rename its methods
by Greg Ward
· 23 years ago
13c53c6
Rename base test case class to (yawn) BaseTestCase.
by Greg Ward
· 23 years ago
ee41384
Ditch the whole loop-over-subcases way of working. Add check_wrap() to
by Greg Ward
· 23 years ago
9ebba9a
Simplify and reformat the use of 'subcases' lists (and following
by Greg Ward
· 23 years ago
3dc94e1
Add comment header block.
by Greg Ward
· 23 years ago
f676578
Conform to standards documented in README:
by Greg Ward
· 23 years ago
90c0b07
Test script for the textwrap module. Kindly provided by Peter Hansen
by Greg Ward
· 23 years ago