This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, vstinner
Date 2016-01-13.17:26:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452705979.28.0.598399365493.issue26101@psf.upfronthosting.co.za>
In-reply-to
Content
A cleaner way to do what you're after is to use test_importlib.util.import_state() where you can pass in an explicit value for sys.path to be temporarily set.

Otherwise I'm fine with the idea of the proposed change.
History
Date User Action Args
2016-01-13 17:26:19brett.cannonsetrecipients: + brett.cannon, vstinner
2016-01-13 17:26:19brett.cannonsetmessageid: <1452705979.28.0.598399365493.issue26101@psf.upfronthosting.co.za>
2016-01-13 17:26:19brett.cannonlinkissue26101 messages
2016-01-13 17:26:18brett.cannoncreate