summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_select.py
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Test exceptional condition in select()Neal Norwitz2002-06-131-0/+7
|
* 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...
* 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.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-25/+24
|
* Made an error message slightly more useful if select() returns something goofyAndrew M. Kuchling2000-07-251-1/+1
|
* fix bug #42 reported by Andrew DalkeJeremy Hylton2000-07-111-1/+0
| | | | | | | | | | | | | | The Compare close contains a close method that checks to see if there is any unconsumed data in the Compare instance; i.e. if the canonical output file contains more data than was produced by the current test run. This method was never called, allowing differences to go undetected. Fix is to call close after the test is run (after __import__) output/test_long and output/test_popen2 needed trivial changes output/test_select contained lots of text, but test_select.py produced no output
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-26/+26
|
* os2 patch by Jeff RushGuido van Rossum1997-11-221-1/+1
|
* Fix sys.platform test -- on Win, it is 'win32', not 'win'.Guido van Rossum1997-05-141-2/+2
|
* Soft failure for Win32 and Mac platforms. Less output unless verbose.Guido van Rossum1997-04-161-3/+12
|
* test(): close the pipe, just to shut up Purify.Barry Warsaw1997-01-141-0/+1
|
* A test of the select module that is actually reproduceable!Barry Warsaw1996-12-111-4/+35
|
* * test_*.py: new lambda syntax (also affects tests for filter, map,Guido van Rossum1993-11-301-2/+0
| | | | | | | | | | reduce) * ftplib.py: added default callback for retrlines; added dir() method * ftplib.py: don't return self in self.connect(); added hack so that if 'CDUP' is not understood, 'CWD ..' is tried. * ftplib.py: second method called init() should have been called connect(); if __init__ sees more than one argument, it will also try to login().
* * test_select.py: (some) tests for built-in select moduleGuido van Rossum1993-11-111-0/+25
* test_grammar.py, testall.out: added test for funny things in string literals * token.py, symbol.py: definitions used with built-in parser module. * tokenize.py: added double-quote recognition