summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bufio.py
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that this test will pass even if another test left an unwritable TESTFN.Neal Norwitz2007-10-061-5/+4
| | | | Also use the safe unlink in test_support instead of rolling our own here.
* Whitespace normalization.Tim Peters2006-11-031-1/+1
|
* Port test_bufio to unittest.Walter Dörwald2006-10-281-55/+61
|
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* Marc-Andre must not have run these tests -- they used verify() butGuido van Rossum2001-01-171-1/+1
| | | | | didn't import it. Also got rid of some inconsistent spaces inside parentheses in test_gzip.py.
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* 18 isn't a prime (duh).Tim Peters2001-01-081-1/+1
|
* MS Win32 .readline() speedup, as discussed on Python-Dev. This is a trickyTim Peters2001-01-071-0/+60
variant that never needs to "search from the right". Also fixed unlikely memory leak in get_line, if string size overflows INTMAX. Also new std test test_bufio to make sure .readline() works.