Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This should fix the buildbot failure on s/390 which can't connect to gmail.org. | Neal Norwitz | 2006-06-29 | 1 | -6/+9 |
| | | | | | | It makes the error message consistent and always sends to stderr. It would be much better for all the networking tests to hit only python.org. | ||||
* | At the C level, tuple arguments are passed in directly to the exception | Brett Cannon | 2006-06-21 | 1 | -4/+4 |
| | | | | | | constructor, meaning it is treated as *args, not as a single argument. This means using the 'message' attribute won't work (until Py3K comes around), and so one must grab from 'arg' to get the error number. | ||||
* | Fix typo of exception name. | Brett Cannon | 2006-06-20 | 1 | -1/+1 |
| | |||||
* | Raise TestSkipped when the test socket connection is refused. | Brett Cannon | 2006-06-20 | 1 | -0/+7 |
| | |||||
* | Fix the socket tests so they can be run concurrently. Backport candidate | Neal Norwitz | 2006-06-12 | 1 | -3/+3 |
| | |||||
* | test_timeout(): This test was added during Bug Day, but disabled | Tim Peters | 2006-04-08 | 1 | -20/+36 |
| | | | | | | | | | soon after because the gmail address it connects to started timing out on all the buildbot slaves. Rewrote the test to produce a warning message (instead of failing) when the address times out. Also removed the special case for Windows -- this test started to work on Windows as soon as bug 1462352 was fixed. | ||||
* | Fix stupid typo. | Tim Peters | 2006-04-01 | 1 | -1/+1 |
| | |||||
* | test_timeout(): Disable this new test on all platforms. | Tim Peters | 2006-04-01 | 1 | -4/+8 |
| | | | | | | | | | The s.connect(("gmail.org", 995)) line has been timing out on all buildbot slaves for hours now, causing the test to fail. | ||||
* | Make test_socket_ssl finally pass on WIn | Georg Brandl | 2006-03-31 | 1 | -0/+3 |
| | |||||
* | Disable test_socket_ssl timeout test on Windows. | Georg Brandl | 2006-03-31 | 1 | -11/+13 |
| | |||||
* | Patch #1380952: fix SSL objects timing out on consecutive read()s | Georg Brandl | 2006-03-31 | 1 | -0/+14 |
| | |||||
* | There was a race condition where the connector would try to connect | Neal Norwitz | 2006-01-25 | 1 | -0/+3 |
| | | | | | | | | | | before the listener was ready (on gentoo x86 buildslave). This caused the listener to not exit normally since nobody connected to it (waited in accept()). The exception was raised in the other thread and the test failed. This fix doesn't completely eliminate the race, but should make it near impossible to trigger. Hopefully it's good enough. | ||||
* | test_rude_shutdown(): Rewrote to use proper thread | Tim Peters | 2006-01-24 | 1 | -11/+19 |
| | | | | synchronization and termination. | ||||
* | connector(): You can't use an empty string as an argument to connect() | Tim Peters | 2003-07-01 | 1 | -1/+1 |
| | | | | on Windows. | ||||
* | Fix SF bug #763770, test_socket_ssl crash | Neal Norwitz | 2003-07-01 | 1 | -2/+2 |
| | | | | Don't run any tests if there is no ssl support. | ||||
* | Fix SF #754870, SSL crash interpreter when remote side closes during connect | Neal Norwitz | 2003-06-30 | 1 | -1/+37 |
| | | | | Also fix a memory leak. | ||||
* | Rearrange test_socket_ssl so that a skip is expected iff the network | Tim Peters | 2002-12-04 | 1 | -19/+24 |
| | | | | resource isn't enabled or the socket module doesn't support ssl. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -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. :) | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -3/+0 |
| | |||||
* | Add trivial test cases for RAND_add() and RAND_status(). | Jeremy Hylton | 2001-10-18 | 1 | -1/+15 |
| | | | | (The rest of the test cases are trivial, so I don't feel too bad.) | ||||
* | Skip instead of fail this test if the socket module has no ssl | Guido van Rossum | 2001-09-06 | 1 | -0/+3 |
| | | | | support. | ||||
* | A test of SSL support, using a roundabout method suggested by Guido. | Barry Warsaw | 2001-08-20 | 1 | -0/+13 |
However, this is only enabled with regrtest's --use=network switch. |