summaryrefslogtreecommitdiff
path: root/Lib/test/test_pprint.py
AgeCommit message (Collapse)AuthorLines
2001-11-28__format(): Applied SF patch #482003 by Skip to fix multiline dictBarry Warsaw-0/+19
output. Patch includes additional test case test_basic_line_wrap(). This patch is a candidate for Python 2.1.2.
2001-09-20Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake-1/+7
allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-3/+8
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
2001-05-14Convert a couple of comments to docstrings -- PyUnit can use these whenFred Drake-2/+2
the regression test is run in verbose mode.
2001-05-14pprint's workhorse _safe_repr() function took time quadratic in the # ofTim Peters-1/+17
elements when crunching a list, dict or tuple. Now takes linear time instead -- huge speedup for even moderately large containers, and the code is notably simpler too. Added some basic "is the output correct?" tests to test_pprint.
2001-05-14Convert the pprint test to use PyUnit.Fred Drake-27/+49
2001-05-14SF bug[ #423781: pprint.isrecursive() broken.Tim Peters-0/+36