SIGN IN SIGN UP

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.
E
Eric Snow committed
dfc4c95762f417e84dcb21dbbe6399ab7b7cef19
Parent: dde0284
Committed by GitHub <noreply@github.com> on 3/31/2023, 6:18:33 PM