summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_poll.py
Commit message (Collapse)AuthorAgeFilesLines
* fix incorrect auto-translation of TestSkipped -> unittest.SkipTestBenjamin Peterson2009-03-261-2/+2
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-2/+2
|
* Applied patch #1657 epoll and kqueue wrappers for the select moduleChristian Heimes2008-03-211-1/+2
| | | | | The patch adds wrappers for the Linux epoll syscalls and the BSD kqueue syscalls. Thanks to Thomas Herve and the Twisted people for their support and help. TODO: Finish documentation documentation
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Whitespace normalization.Tim Peters2006-11-031-1/+1
|
* Convert test_poll to unittest.Georg Brandl2006-10-291-176/+140
|
* Whitespace normalization.Tim Peters2005-12-251-1/+1
|
* Bug #1346533, select.poll() doesn't raise an error if timeout > sys.maxintNeal Norwitz2005-11-031-0/+20
| | | | | | Need to check return result of PyInt_AsLong() Will backport.
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-1/+1
| | | | From SF patch #852334.
* 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. :)
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-5/+5
| | | | | | | 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-1/+1
|
* Fix for two problems on FreeBSD:Andrew M. Kuchling2000-08-291-3/+6
| | | | | | | In test_poll1(), unregister file descriptors as they're closed, and also close the read end of the pipe In test_poll2(), make the code assume less about the combinations of flag bits that will be returned
* Another new test using "from test.test_support import ...", causingTim Peters2000-08-261-3/+1
| | | | | | | | | | | | | | | subtle breakage on Windows (the test is skipped here, but the TestSkipped exception wasn't recognized as such, because of duplicate copies of test_support got loaded; so the test looks like a failure under Windows instead of a skip). Repaired the import, but THIS TEST *WILL* FAIL ON OTHER SYSTEMS NOW! Again due to the duplicate copies of test_support, the checked-in "expected output" file actually contains verbose-mode output. I can't generate the *correct* non-verbose output on my system. So, somebody please do that.
* Test suite for poll() interface (SF patch #100852)Andrew M. Kuchling2000-08-251-0/+171