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 alexis
Recipients Natim, alexis, eric.araujo, tarek
Date 2011-08-20.15:03:12
SpamBayes Score 7.8159275e-07
Marked as misclassified No
Message-id <1313852593.52.0.596098416335.issue12703@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Rémy, 

About testing, I would go for modules with errors in it and check that when imported trough this function it does what it is supposed to do.

IOW:

1. Create a test python module with errors in their definition (Throw an exception would do the trick)
2a. Try to load this python module, check that the exception is the one thrown in the module
2.b Check that loading a non existing modules still tell us that the module doesn't exist
2.c Check that importing something existing works, trough this function. 

Hope I'm clear enough, thanks again,
Alexis
History
Date User Action Args
2011-08-20 15:03:13alexissetrecipients: + alexis, tarek, eric.araujo, Natim
2011-08-20 15:03:13alexissetmessageid: <1313852593.52.0.596098416335.issue12703@psf.upfronthosting.co.za>
2011-08-20 15:03:12alexislinkissue12703 messages
2011-08-20 15:03:12alexiscreate