<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_thread.py, branch benjamin-interp-initialize</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Trivial cleanups following bpo-31370 (#3649)</title>
<updated>2017-09-18T21:50:44+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>pitrou@free.fr</email>
</author>
<published>2017-09-18T21:50:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88c60c9668f0aa732693517a60b851cc1dfce0cb'/>
<id>88c60c9668f0aa732693517a60b851cc1dfce0cb</id>
<content type='text'>
* Trivial cleanups following bpo-31370

* Also cleanup the "importlib._bootstrap_external" module
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Trivial cleanups following bpo-31370

* Also cleanup the "importlib._bootstrap_external" module
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31234: Add test.support.wait_threads_exit() (#3578)</title>
<updated>2017-09-14T20:07:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-14T20:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ff40ecda73178dfcad24e26240d684356ef20793'/>
<id>ff40ecda73178dfcad24e26240d684356ef20793</id>
<content type='text'>
Use _thread.count() to wait until threads exit. The new context
manager prevents the "dangling thread" warning.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use _thread.count() to wait until threads exit. The new context
manager prevents the "dangling thread" warning.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31234: Enhance test_thread.test_forkinthread() (#3516)</title>
<updated>2017-09-12T17:49:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-12T17:49:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a15d155aadfad232158f530278505cdc6f326f93'/>
<id>a15d155aadfad232158f530278505cdc6f326f93</id>
<content type='text'>
* test_thread.test_forkinthread() now waits until the thread completes.
* Check the status in the test method, not in the thread function
* Don't ignore RuntimeError anymore: since the commit
  346cbd351ee0dd3ab9cb9f0e4cb625556707877e (bpo-16500,
  os.register_at_fork(), os.fork() cannot fail anymore with
  RuntimeError.
* Replace 0.01 literal with a new POLL_SLEEP constant
* test_forkinthread(): test if os.fork() exists rather than testing
  the platform.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test_thread.test_forkinthread() now waits until the thread completes.
* Check the status in the test method, not in the thread function
* Don't ignore RuntimeError anymore: since the commit
  346cbd351ee0dd3ab9cb9f0e4cb625556707877e (bpo-16500,
  os.register_at_fork(), os.fork() cannot fail anymore with
  RuntimeError.
* Replace 0.01 literal with a new POLL_SLEEP constant
* test_forkinthread(): test if os.fork() exists rather than testing
  the platform.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31150: Wait for child process in test_forkinthread to avoid thread reaped warnings (#3032)</title>
<updated>2017-08-09T08:51:43+00:00</updated>
<author>
<name>Ammar Askar</name>
<email>ammar_askar@hotmail.com</email>
</author>
<published>2017-08-09T08:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=88eee44a91c991dbbdf284fa220e2928b5de105c'/>
<id>88eee44a91c991dbbdf284fa220e2928b5de105c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30357: test_thread now uses threading_cleanup() (#1592)</title>
<updated>2017-05-15T15:55:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-05-15T15:55:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79ef7f8e88a4972c4aecf95cfc5cd934f1861e08'/>
<id>79ef7f8e88a4972c4aecf95cfc5cd934f1861e08</id>
<content type='text'>
test_thread: setUp() now uses support.threading_setup() and
support.threading_cleanup() to wait until threads complete to avoid
random side effects on following tests.

Co-Authored-By:  Grzegorz Grzywacz &lt;grzegorz.grzywacz@nazwa.pl&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_thread: setUp() now uses support.threading_setup() and
support.threading_cleanup() to wait until threads complete to avoid
random side effects on following tests.

Co-Authored-By:  Grzegorz Grzywacz &lt;grzegorz.grzywacz@nazwa.pl&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #21741: Update 147 test modules to use test discovery.</title>
<updated>2015-04-13T20:00:43+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2015-04-13T20:00:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=38c707e7e0322f9139bb51ad73ede1e3b46985ef'/>
<id>38c707e7e0322f9139bb51ad73ede1e3b46985ef</id>
<content type='text'>
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux.  The only differences I found were actually tests
that were previously *not* run.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 19572: More silently skipped tests explicitly skipped.</title>
<updated>2013-12-08T06:44:27+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2013-12-08T06:44:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=101d9e7250c039aeabea1582459d40b52cc81024'/>
<id>101d9e7250c039aeabea1582459d40b52cc81024</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue 19572: More silently skipped tests explicitly skipped.</title>
<updated>2013-12-08T06:20:35+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2013-12-08T06:20:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9fe6d86709b0e769602ff55a6e5a202c440b9d8a'/>
<id>9fe6d86709b0e769602ff55a6e5a202c440b9d8a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Closes #16135: Removal of OS/2 support</title>
<updated>2012-10-05T01:36:11+00:00</updated>
<author>
<name>Jesus Cea</name>
<email>jcea@jcea.es</email>
</author>
<published>2012-10-05T01:36:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f01d695ccdf47855aa9b5f2185a8ce349ed004aa'/>
<id>f01d695ccdf47855aa9b5f2185a8ce349ed004aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>sleep here</title>
<updated>2012-04-23T14:08:14+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2012-04-23T14:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7a436c5a5338a022ff111f3c9bcc075716e14b68'/>
<id>7a436c5a5338a022ff111f3c9bcc075716e14b68</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
