]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-101659: Clean Up the General Import Tests for Subinterpreters (gh-103151)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 31 Mar 2023 18:18:33 +0000 (12:18 -0600)
committerGitHub <noreply@github.com>
Fri, 31 Mar 2023 18:18:33 +0000 (12:18 -0600)
commitdfc4c95762f417e84dcb21dbbe6399ab7b7cef19
treef2fec9a5533685cb0136c83cc5692b7f16e34e81
parentdde028480e57bffa83fb084b15ec22490c42ef93
gh-101659: Clean Up the General Import Tests for Subinterpreters (gh-103151)

This involves 3 changes: some general cleanup, checks to match the kind of module, and switch from testing against sys to _imp.

This is a precursor to gh-103150, though the changes are meant to stand on their own.
Lib/test/test_import/__init__.py