<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/lock_tests.py, branch 3.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/lock_tests.py?h=3.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/lock_tests.py?h=3.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-12-17T09:03:04Z</updated>
<entry>
<title>bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)</title>
<updated>2018-12-17T09:03:04Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-12-17T09:03:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=be69ff232df23b6ee165d7c34df5435d497cb79b'/>
<id>urn:sha1:be69ff232df23b6ee165d7c34df5435d497cb79b</id>
<content type='text'>
Replace time.time() with time.monotonic() in tests to measure time
delta.

test_zipfile64: display progress every minute (60 secs) rather than
every 5 minutes (5*60 seconds).
(cherry picked from commit 2cf4c202ffeb30787c944365ba54013688b854c2)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)</title>
<updated>2018-07-19T09:27:42Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-07-19T09:27:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339e0c1296c61c9dbc1f8f880c5c668bf4007e5e'/>
<id>urn:sha1:339e0c1296c61c9dbc1f8f880c5c668bf4007e5e</id>
<content type='text'>
Increase the timeout: give timeout x 4 instead of timeout x 2 to
threads to wait until the Event is set, but reduce the sleep from 500
ms to 250 ms. So the test should be more reliable and faster!
(cherry picked from commit 81950495ba2c36056e0ce48fd37d514816c26747)

Co-authored-by: Victor Stinner &lt;vstinner@redhat.com&gt;</content>
</entry>
<entry>
<title>bpo-32208: update threading.Semaphore docs and add unit test (#4709)</title>
<updated>2017-12-07T18:04:26Z</updated>
<author>
<name>Garrett Berg</name>
<email>googberg@gmail.com</email>
</author>
<published>2017-12-07T18:04:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a0374dd34aa25f0895195d388b5ceff43b121b00'/>
<id>urn:sha1:a0374dd34aa25f0895195d388b5ceff43b121b00</id>
<content type='text'>
* fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior

* add test for blocking

* Update threading.rst

* semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore
</content>
</entry>
<entry>
<title>bpo-31234: Add test.support.wait_threads_exit() (#3578)</title>
<updated>2017-09-14T20:07:24Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-14T20:07:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff40ecda73178dfcad24e26240d684356ef20793'/>
<id>urn:sha1:ff40ecda73178dfcad24e26240d684356ef20793</id>
<content type='text'>
Use _thread.count() to wait until threads exit. The new context
manager prevents the "dangling thread" warning.</content>
</entry>
<entry>
<title>bpo-31234: Try to fix lock_tests warning (#3557)</title>
<updated>2017-09-13T23:41:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-09-13T23:41:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=096ae3373abac2c8b3a26a3fe33cc8bd4cbccd4e'/>
<id>urn:sha1:096ae3373abac2c8b3a26a3fe33cc8bd4cbccd4e</id>
<content type='text'>
Try to fix the "Warning -- threading_cleanup() failed to cleanup 1
threads" warning in test.lock_tests: wait a little bit longer to give
time to the threads to complete.

Warning seen on test_thread and test_importlib.</content>
</entry>
<entry>
<title>bpo-30727: Fix a race condition in test_threading. (#2334)</title>
<updated>2017-06-23T10:36:36Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-06-23T10:36:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32cb968a2edd482891c33b6f2ebae10f1d305424'/>
<id>urn:sha1:32cb968a2edd482891c33b6f2ebae10f1d305424</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #25551: Test condition behavior instead of its internals</title>
<updated>2016-04-29T14:25:51Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-04-29T14:25:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd745cc3ff853fd5b641c035a860f0ac84f2b401'/>
<id>urn:sha1:dd745cc3ff853fd5b641c035a860f0ac84f2b401</id>
<content type='text'>
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.

The test was added by Nir Soffer in 6108d30dde21.

Patch by Nir Soffer.
</content>
</entry>
<entry>
<title>Issue #25551: Test condition behavior instead of its internals</title>
<updated>2016-04-29T14:25:29Z</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2016-04-29T14:25:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d34bbbfc7ac1a5a8d518ed1b767239de26650c5'/>
<id>urn:sha1:6d34bbbfc7ac1a5a8d518ed1b767239de26650c5</id>
<content type='text'>
test_reset_internal_locks was looking at Event's _cond._lock. This
makes it harder to change internals of the Condition object and
makes the test fragile.

The test was added by Nir Soffer in 6108d30dde21.

Patch by Nir Soffer.
</content>
</entry>
<entry>
<title>Issue #25298:  Add lock and rlock weakref tests (Contributed by Nir Soffer).</title>
<updated>2015-10-09T04:03:51Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2015-10-09T04:03:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7836a27ceba2395572f1b3b385c11e6a43910185'/>
<id>urn:sha1:7836a27ceba2395572f1b3b385c11e6a43910185</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge 3.4 (#25319)</title>
<updated>2015-10-06T05:00:33Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-10-06T05:00:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=72181b2f5385cc709543250b37d077adf3d08043'/>
<id>urn:sha1:72181b2f5385cc709543250b37d077adf3d08043</id>
<content type='text'>
</content>
</entry>
</feed>
