<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/test/test_importlib/source, branch main</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>gh-98040: Remove find_loader, find_module and other deprecated APIs (#98059)</title>
<updated>2023-05-03T11:55:22+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2023-05-03T11:55:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=326997829d02458246dfd5b6d03297e2418bde52'/>
<id>326997829d02458246dfd5b6d03297e2418bde52</id>
<content type='text'>
* Remove deprecated classes from pkgutil
* Remove some other PEP 302 obsolescence
* Use find_spec instead of load_module
* Remove more tests of PEP 302 obsolete APIs
* Remove another bunch of tests using obsolete load_modules()
* Remove deleted names from __all__
* Remove obsolete footnote
* imp is removed
* Remove `imp` from generated stdlib names
* What's new and blurb
* Update zipimport documentation for the removed methods
* Fix some Windows tests
* Remove any test (or part of a test) that references `find_module()`.
* Use assertIsNone() / assertIsNotNone() consistently.
* Update Doc/reference/import.rst
* We don't need pkgutil._get_spec() any more either
*  test.test_importlib.fixtures.NullFinder
* ...BadLoaderFinder.find_module
* ...test_api.InvalidatingNullFinder.find_module
* ...test.test_zipimport test of z.find_module
* Suppress cross-references to find_loader and find_module
* Suppress cross-references to Finder
* Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader

---------

Co-authored-by: Oleg Iarygin &lt;oleg@arhadthedev.net&gt;
Co-authored-by: Adam Turner &lt;9087854+aa-turner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Remove deprecated classes from pkgutil
* Remove some other PEP 302 obsolescence
* Use find_spec instead of load_module
* Remove more tests of PEP 302 obsolete APIs
* Remove another bunch of tests using obsolete load_modules()
* Remove deleted names from __all__
* Remove obsolete footnote
* imp is removed
* Remove `imp` from generated stdlib names
* What's new and blurb
* Update zipimport documentation for the removed methods
* Fix some Windows tests
* Remove any test (or part of a test) that references `find_module()`.
* Use assertIsNone() / assertIsNotNone() consistently.
* Update Doc/reference/import.rst
* We don't need pkgutil._get_spec() any more either
*  test.test_importlib.fixtures.NullFinder
* ...BadLoaderFinder.find_module
* ...test_api.InvalidatingNullFinder.find_module
* ...test.test_zipimport test of z.find_module
* Suppress cross-references to find_loader and find_module
* Suppress cross-references to Finder
* Suppress cross-references to pkgutil.ImpImporter and pkgutil.ImpLoader

---------

Co-authored-by: Oleg Iarygin &lt;oleg@arhadthedev.net&gt;
Co-authored-by: Adam Turner &lt;9087854+aa-turner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-94619: Remove long deprecated methods module_repr() and load_module() (#94624)</title>
<updated>2022-08-05T00:24:26+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2022-08-05T00:24:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e1182bc3776ea7cfdd3f82d5ba4fdfee40ae57ee'/>
<id>e1182bc3776ea7cfdd3f82d5ba4fdfee40ae57ee</id>
<content type='text'>
* gh-94619: Remove long deprecated methods module_repr() and load_module()

Closes #94619

* Update Misc/NEWS.d/next/Library/2022-07-06-14-57-33.gh-issue-94619.PRqKVX.rst

Fix typo

Co-authored-by: Brett Cannon &lt;brett@python.org&gt;

Co-authored-by: Brett Cannon &lt;brett@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gh-94619: Remove long deprecated methods module_repr() and load_module()

Closes #94619

* Update Misc/NEWS.d/next/Library/2022-07-06-14-57-33.gh-issue-94619.PRqKVX.rst

Fix typo

Co-authored-by: Brett Cannon &lt;brett@python.org&gt;

Co-authored-by: Brett Cannon &lt;brett@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-45046: Support context managers in unittest (GH-28045)</title>
<updated>2022-05-08T14:49:09+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-05-08T14:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=086c6b1b0fe8d47ebd15512d7bdcb64c60a360f0'/>
<id>086c6b1b0fe8d47ebd15512d7bdcb64c60a360f0</id>
<content type='text'>
Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add methods enterContext() and enterClassContext() in TestCase.
Add method enterAsyncContext() in IsolatedAsyncioTestCase.
Add function enterModuleContext().
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-46425: fix direct invocation of `test_importlib` (GH-30682)</title>
<updated>2022-01-22T16:05:05+00:00</updated>
<author>
<name>Nikita Sobolev</name>
<email>mail@sobolevn.me</email>
</author>
<published>2022-01-22T16:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=57316c52bae5d6420f5067f3891ec328deb97305'/>
<id>57316c52bae5d6420f5067f3891ec328deb97305</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[codemod] Fix non-matching bracket pairs (GH-28473)</title>
<updated>2021-09-21T23:09:00+00:00</updated>
<author>
<name>Mohamad Mansour</name>
<email>66031317+mohamadmansourX@users.noreply.github.com</email>
</author>
<published>2021-09-21T23:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8f943ca25732d548cf9f0b0393ba8d582fb93e29'/>
<id>8f943ca25732d548cf9f0b0393ba8d582fb93e29</id>
<content type='text'>
Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;
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>
Co-authored-by: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;
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>bpo-42135: Deprecate implementations of find_module() and find_loader() (GH-25169)</title>
<updated>2021-04-06T15:56:57+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2021-04-06T15:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=57c6cb5100d19a0e0218c77d887c3c239c9ce435'/>
<id>57c6cb5100d19a0e0218c77d887c3c239c9ce435</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181)</title>
<updated>2021-04-05T04:11:23+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2021-04-05T04:11:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c8e5eb904e12010d2302364e1037c24a30f5e241'/>
<id>c8e5eb904e12010d2302364e1037c24a30f5e241</id>
<content type='text'>
* Fix test_shutil
* Fix test_imp
* Fix test_import
* Fix test_importlib</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix test_shutil
* Fix test_imp
* Fix test_import
* Fix test_importlib</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Fix failed test cases by using test helpers (GH-21811)</title>
<updated>2020-08-10T21:24:02+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-10T21:24:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=490c5426b1b23831d83d0c6b269858fb98450889'/>
<id>490c5426b1b23831d83d0c6b269858fb98450889</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Use new test.support helper submodules in tests (GH-21727)</title>
<updated>2020-08-04T15:53:12+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-08-04T15:53:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c7decc27d529c04a4e6b2922e3f3f9419b920f63'/>
<id>c7decc27d529c04a4e6b2922e3f3f9419b920f63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38691: importlib ignores PYTHONCASEOK if -E is used (GH-18627)</title>
<updated>2020-03-09T11:57:53+00:00</updated>
<author>
<name>idomic</name>
<email>michael.ido@gmail.com</email>
</author>
<published>2020-03-09T11:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fc72ab6913f2b5337ae7fda711f2de846d38f479'/>
<id>fc72ab6913f2b5337ae7fda711f2de846d38f479</id>
<content type='text'>
The importlib module now ignores the PYTHONCASEOK
environment variable when the -E or -I command line
options are being used.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The importlib module now ignores the PYTHONCASEOK
environment variable when the -E or -I command line
options are being used.</pre>
</div>
</content>
</entry>
</feed>
