summaryrefslogtreecommitdiff
path: root/Lib/test/test_textwrap.py
AgeCommit message (Expand)AuthorLines
2017-06-15bpo-30603: add tests to textwrap.dedent (GH-2206)Jonathan Eunice-0/+11
2017-06-13bpo-30603: Add test case to textwrap.dedent (GH-2014)Jonathan Eunice-0/+5
2017-06-07bpo-30591: Added test for textwrap backtracking. (#1988)Jonathan Eunice-0/+11
2016-10-25Issue #20491: The textwrap.TextWrapper class now honors non-breaking spaces.Serhiy Storchaka-0/+31
2015-10-28Issue #21827: Fixed textwrap.dedent() for the case when largest commonSerhiy Storchaka-0/+5
2015-10-28Issue #21827: Fixed textwrap.dedent() for the case when largest commonSerhiy Storchaka-0/+5
2015-03-24Issue #22687: Fixed some corner cases in breaking words in tetxtwrap.Serhiy Storchaka-0/+16
2013-10-15Issue #18725: The textwrap module now supports truncating multiline text.Serhiy Storchaka-7/+98
2013-08-16Fix the default placeholder in textwrap.shorten() to be " [...]".Antoine Pitrou-6/+6
2013-08-12Issue #18585: Add :func:`textwrap.shorten` to collapse and truncate a piece o...Antoine Pitrou-9/+59
2012-09-08Merge #15510: clarify textwrap's handling of whitespace, and add confirming t...R David Murray-8/+56
2012-09-08#15510: clarify textwrap's handling of whitespace, and add confirming tests.R David Murray-8/+56
2012-06-11Close #13857: Added textwrap.indent() function (initial patch by EzraNick Coghlan-2/+138
2012-05-19#13152: Allow to specify a custom tabsize for expanding tabs in textwrapHynek Schlawack-0/+8
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-17/+17
2008-12-13Issue #4163: textwrap module: allow word splitting on a hyphen preceded by a ...Antoine Pitrou-0/+8
2008-05-20#2621 rename test.test_support to test.supportBenjamin Peterson-2/+2
2008-05-16Merged revisions 62998-63003,63005-63006,63009-63012,63014-63017,63019-63020,...Alexandre Vassalotti-0/+8
2008-05-04Merged revisions 62425-62429,62434-62436,62441,62444,62446-62448,62450-62455,...Christian Heimes-0/+4
2008-01-19Merged revisions 60080-60089,60091-60093 via svnmerge fromGeorg Brandl-0/+13
2007-10-16Patch# 1258 by Christian Heimes: kill basestring.Guido van Rossum-1/+1
2007-06-08Rename checks for test_support.have_unicode (we alwaysWalter Dörwald-13/+0
2007-05-02Rip out all the u"..." literals and calls to unicode().Guido van Rossum-5/+5
2007-04-27Merged revisions 53952-54987 via svnmerge fromGuido van Rossum-0/+8
2006-08-11Merged revisions 46753-51188 via svnmerge fromThomas Wouters-10/+49
2005-08-03Disable a few other tests, that can't work if Python is compiled withoutWalter Dörwald-11/+12
2005-03-05SF #1149508: ensure textwrap handles hyphenated numbers correctly,Greg Ward-0/+18
2004-07-08Whitespace normalization.Tim Peters-1/+1
2004-06-03SF #965425: fix so hyphenated words surrounded by punctuation areGreg Ward-1/+18
2004-05-13SF #847346: merge from release23-maint branch: remove misguidedGreg Ward-3/+41
2003-09-17SF patch #806246: use basestring where possibleRaymond Hettinger-1/+1
2003-08-30SF bug 797650: Infinite loop in textwrap.pyRaymond Hettinger-0/+10
2003-05-08Add DedentTestCase to test dedent() function.Greg Ward-3/+68
2003-05-07SF #596434: add test_funky_parens() to probe some more of the trickyGreg Ward-3/+19
2003-05-07SF #726446: ensure wrap() raises ValueError when width <= 0.Greg Ward-0/+6
2003-05-01Combine the functionality of test_support.run_unittest()Walter Dörwald-5/+1
2002-12-09Add test_unicode() to ensure that 1) textwrap doesn't crash on unicodeGreg Ward-0/+12
2002-12-09Added test_initial_whitespace() to ensure that SF bug #622849 is fixed.Greg Ward-3/+13
2002-10-31Ad test_funky_hyphens() to test some screwy edge cases reported in SFGreg Ward-5/+18
2002-10-02Fix an endcase bug: initial_indent was ignored when the text was shortGuido van Rossum-3/+13
2002-08-22Test an em-dash with adjacent punctuation.Greg Ward-0/+6
2002-08-22Factored out BaseTestCase.check_split() method -- use it whereverGreg Ward-8/+8
2002-08-22Test _split() method in test_unix_options().Greg Ward-0/+9
2002-08-22Add test_unix_options() to WrapTestCase to test for SF bug #596434.Greg Ward-0/+28
2002-08-22Standardize behavior: no docstrings in test functions. Also stripGuido van Rossum-16/+16
2002-08-22Add test_em_dash() to WrapTestCase to make sure that TextWrapper handlesGreg Ward-2/+53
2002-08-22Simplification/cleanup in IndentTestCases.Greg Ward-16/+10
2002-08-22Factor LongWordTestCase out of WrapTestCase, and rename its methodsGreg Ward-13/+14
2002-08-22Rename base test case class to (yawn) BaseTestCase.Greg Ward-3/+3
2002-08-22Ditch the whole loop-over-subcases way of working. Add check_wrap() toGreg Ward-73/+58