<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_timeout.py, branch v2.3.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_timeout.py?h=v2.3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_timeout.py?h=v2.3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-05-01T17:45:56Z</updated>
<entry>
<title>Combine the functionality of test_support.run_unittest()</title>
<updated>2003-05-01T17:45:56Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-01T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21d3a32b99c5763444c34c189ef653ac9745f3c4'/>
<id>urn:sha1:21d3a32b99c5763444c34c189ef653ac9745f3c4</id>
<content type='text'>
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
</content>
</entry>
<entry>
<title>Avoid creating one of the TestSuite objects.</title>
<updated>2003-04-11T15:14:05Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2003-04-11T15:14:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=126f2b76b9413d861f3a8f7d70af67a634982e31'/>
<id>urn:sha1:126f2b76b9413d861f3a8f7d70af67a634982e31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resource</title>
<updated>2003-02-28T19:57:03Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-28T19:57:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=55b61d21d8e8409fbb6ca23421f8a3a5c23f5513'/>
<id>urn:sha1:55b61d21d8e8409fbb6ca23421f8a3a5c23f5513</id>
<content type='text'>
require -u network to run test_timeout since
it fails when not connected to a network.
</content>
</entry>
<entry>
<title>Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failures</title>
<updated>2003-02-21T16:45:41Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-21T16:45:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=14821c59147228d45e3b6f828e7188a4075fa9cb'/>
<id>urn:sha1:14821c59147228d45e3b6f828e7188a4075fa9cb</id>
<content type='text'>
on the boxes I use.
</content>
</entry>
<entry>
<title>Actually run these tests from regrtest.py.</title>
<updated>2003-02-17T14:51:41Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-17T14:51:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=996acf122dbf8d9aa694a16a32ced065f5805cd2'/>
<id>urn:sha1:996acf122dbf8d9aa694a16a32ced065f5805cd2</id>
<content type='text'>
There was no test_main() and the main body was protected
by if __name__ == '__main__' so the test didn't happen
on import either.
</content>
</entry>
<entry>
<title>testConnectTimeout(): set the timeout to a smaller value; 0.02</title>
<updated>2002-09-03T19:17:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-03T19:17:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6e813188dbda129efc75d16ce912293adc229576'/>
<id>urn:sha1:6e813188dbda129efc75d16ce912293adc229576</id>
<content type='text'>
sometimes wasn't short enough.
</content>
</entry>
<entry>
<title>Standardize behavior: no docstrings in test functions.</title>
<updated>2002-08-22T20:22:16Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-08-22T20:22:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ae4693129a49cf4ab9feff33c4658873e85f2083'/>
<id>urn:sha1:ae4693129a49cf4ab9feff33c4658873e85f2083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of relative imports in all unittests.  Now anything that</title>
<updated>2002-07-23T19:04:11Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2002-07-23T19:04:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04f357cffef6d764f2f0ff2671dabde75ec250d1'/>
<id>urn:sha1:04f357cffef6d764f2f0ff2671dabde75ec250d1</id>
<content type='text'>
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. :)
</content>
</entry>
<entry>
<title>Temporarily disable the timeout and socket tests.</title>
<updated>2002-06-13T20:24:17Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-13T20:24:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=654c11ee3a2c9b72c040524c9cc4f95a1858f20b'/>
<id>urn:sha1:654c11ee3a2c9b72c040524c9cc4f95a1858f20b</id>
<content type='text'>
They still run as standalone scripts, but when used as part of the
regression test suite, they are effectively no-ops.
(This is done by renaming test_main to main.)
</content>
</entry>
<entry>
<title>Major overhaul of timeout sockets:</title>
<updated>2002-06-13T15:07:44Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-06-13T15:07:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11ba094957ed72d0ecc9e50e79d138a0770df6e3'/>
<id>urn:sha1:11ba094957ed72d0ecc9e50e79d138a0770df6e3</id>
<content type='text'>
- setblocking(0) and settimeout(0) are now equivalent, and ditto for
  setblocking(1) and settimeout(None).

- Don't raise an exception from internal_select(); let the final call
  report the error (this means you will get an EAGAIN error instead of
  an ETIMEDOUT error -- I don't care).

- Move the select to inside the Py_{BEGIN,END}_ALLOW_THREADS brackets,
  so other theads can run (this was a bug in the original code).

- Redid the retry logic in connect() and connect_ex() to avoid masking
  errors.  This probably doesn't work for Windows yet; I'll fix that
  next.  It may also fail on other platforms, depending on what
  retrying a connect does; I need help with this.

- Get rid of the retry logic in accept().  I don't think it was needed
  at all.  But I may be wrong.
</content>
</entry>
</feed>
