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 abarry
Recipients Decorater, abarry
Date 2016-07-28.12:07:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1469707644.19.0.483953884834.issue27642@psf.upfronthosting.co.za>
In-reply-to
Content
`import` merely adds the imported module to the current namespace which, in your code, is some local (non-global) namespace. It is successfully imported but never used, and quickly falls out of scope.

You also check for `testplugin in sys.modules`, but you want `'testplugin' in sys.modules`. Closing this as not a bug, please reopen if there's indeed a bug I didn't spot.
History
Date User Action Args
2016-07-28 12:07:24abarrysetrecipients: + abarry, Decorater
2016-07-28 12:07:24abarrysetmessageid: <1469707644.19.0.483953884834.issue27642@psf.upfronthosting.co.za>
2016-07-28 12:07:24abarrylinkissue27642 messages
2016-07-28 12:07:24abarrycreate