<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_asyncio/test_tasks.py, branch v3.10.9</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#100059)</title>
<updated>2022-12-06T17:40:30+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2022-12-06T17:40:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=300d812fd1c4d9244e71de0d228cc72439d312a7'/>
<id>300d812fd1c4d9244e71de0d228cc72439d312a7</id>
<content type='text'>
It no longer emits a deprecation warning if the current event loop was set.

(cherry picked from commit 3fae04b10e2655a20a3aadb5e0d63e87206d0c67)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It no longer emits a deprecation warning if the current event loop was set.

(cherry picked from commit 3fae04b10e2655a20a3aadb5e0d63e87206d0c67)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-84753: Make inspect.iscoroutinefunction() work with AsyncMock (GH-94050) (GH-94461)</title>
<updated>2022-06-30T18:02:15+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-06-30T18:02:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=47f23b2d8a14a2f182375c840776eadfc371c726'/>
<id>47f23b2d8a14a2f182375c840776eadfc371c726</id>
<content type='text'>
The inspect version was not working with unittest.mock.AsyncMock.

The fix introduces special-casing of AsyncMock in
`inspect.iscoroutinefunction` equivalent to the one
performed in `asyncio.iscoroutinefunction`.

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit 4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc)

Co-authored-by: Mehdi ABAAKOUK &lt;sileht@sileht.net&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The inspect version was not working with unittest.mock.AsyncMock.

The fix introduces special-casing of AsyncMock in
`inspect.iscoroutinefunction` equivalent to the one
performed in `asyncio.iscoroutinefunction`.

Co-authored-by: Łukasz Langa &lt;lukasz@langa.pl&gt;
(cherry picked from commit 4261b6bffc0b8bb5c6d4d80578a81b7520f4aefc)

Co-authored-by: Mehdi ABAAKOUK &lt;sileht@sileht.net&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-47038: Rewrite missed asyncio.wait_for test to use IsolatedAnsyncioTestCase (GH-31946) (#31948)</title>
<updated>2022-03-17T00:19:51+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-17T00:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=36f62c55759c4246f969f60f7470ba756f77b268'/>
<id>36f62c55759c4246f969f60f7470ba756f77b268</id>
<content type='text'>
(cherry picked from commit 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 3dd9bfac04d3dcdbfd3f8011a6c9d4b9ac8c116a)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-47038: Rewrite asyncio.wait_for test to use IsolatedAsyncioTestCase (GH-31942) (GH-31943)</title>
<updated>2022-03-16T20:15:08+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-03-16T20:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4186dd662cf22613b21af948163978af4243a8d6'/>
<id>4186dd662cf22613b21af948163978af4243a8d6</id>
<content type='text'>
(cherry picked from commit dd0082c627713634c7fd88ad33d18b5cc9f4a7b8)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit dd0082c627713634c7fd88ad33d18b5cc9f4a7b8)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46672: fix `NameError` in `asyncio.gather` if type check fails (GH-31187) (GH-31440)</title>
<updated>2022-02-20T15:28:42+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-02-20T15:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f1916cde24053f4c8b6799730666d19474f8dd09'/>
<id>f1916cde24053f4c8b6799730666d19474f8dd09</id>
<content type='text'>
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;
(cherry picked from commit 4ab8167b9c60d1a04b2e3116d0c52db254b68cda)

Co-authored-by: Nikita Sobolev &lt;mail@sobolevn.me&gt;

Co-authored-by: Nikita Sobolev &lt;mail@sobolevn.me&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;
(cherry picked from commit 4ab8167b9c60d1a04b2e3116d0c52db254b68cda)

Co-authored-by: Nikita Sobolev &lt;mail@sobolevn.me&gt;

Co-authored-by: Nikita Sobolev &lt;mail@sobolevn.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) (#30784)</title>
<updated>2022-01-22T12:28:51+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-01-22T12:28:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=90e2998db78cd15e45b3c82f6360ac8841e03945'/>
<id>90e2998db78cd15e45b3c82f6360ac8841e03945</id>
<content type='text'>
* bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777)

* bpo-46469: Make asyncio generic classes return GenericAlias

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst

Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;
(cherry picked from commit ea5b96842e066623a53015d8b2492ed61a5baf96)

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;

* Fix tests

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;
Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777)

* bpo-46469: Make asyncio generic classes return GenericAlias

* 📜🤖 Added by blurb_it.

* Update Misc/NEWS.d/next/Library/2022-01-22-05-05-08.bpo-46469.plUab5.rst

Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;

Co-authored-by: blurb-it[bot] &lt;43283697+blurb-it[bot]@users.noreply.github.com&gt;
Co-authored-by: Jelle Zijlstra &lt;jelle.zijlstra@gmail.com&gt;
(cherry picked from commit ea5b96842e066623a53015d8b2492ed61a5baf96)

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;

* Fix tests

Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;
Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-23819: Get rid of assert statements in test_asyncio (GH-30212) (GH-30213)</title>
<updated>2021-12-20T12:50:45+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-12-20T12:50:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=95948169d75bed3936284ea2225e83e07ec5fe20'/>
<id>95948169d75bed3936284ea2225e83e07ec5fe20</id>
<content type='text'>
To keep checks even if run tests with optimized Python.

Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
(cherry picked from commit 6ca78affc8023bc5023189d64d8050857662042a)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To keep checks even if run tests with optimized Python.

Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
(cherry picked from commit 6ca78affc8023bc5023189d64d8050857662042a)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37658: Actually return result in race condition (GH-29202)</title>
<updated>2021-11-29T08:37:34+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-11-29T08:37:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=305236e03a274850be8ed399ea3390ee71519ef4'/>
<id>305236e03a274850be8ed399ea3390ee71519ef4</id>
<content type='text'>
(cherry picked from commit 934a82623793e9d52b85f74d5395d65927a52205)

Co-authored-by: Sam Bull &lt;aa6bs0@sambull.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 934a82623793e9d52b85f74d5395d65927a52205)

Co-authored-by: Sam Bull &lt;aa6bs0@sambull.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)</title>
<updated>2021-10-07T15:49:47+00:00</updated>
<author>
<name>Christian Clauss</name>
<email>cclauss@me.com</email>
</author>
<published>2021-10-07T15:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cfca4a67745cb9ed040fade3fd54f5002a6e75a6'/>
<id>cfca4a67745cb9ed040fade3fd54f5002a6e75a6</id>
<content type='text'>
Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;.
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)

Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;.
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)

Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) (GH-28027)</title>
<updated>2021-09-08T15:08:57+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2021-09-08T15:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=462c1f0403324efc27c11435da12b8d16f5387de'/>
<id>462c1f0403324efc27c11435da12b8d16f5387de</id>
<content type='text'>
(cherry picked from commit 2a8127cafe1d196f858a3ecabf5f1df3eebf9a12)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 2a8127cafe1d196f858a3ecabf5f1df3eebf9a12)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
</feed>
