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 eric.araujo
Recipients alexis, ceder, eric.araujo, fdrake, higery, mhammond, tarek, tim.golden, vinay.sajip
Date 2011-07-26.12:38:01
SpamBayes Score 0.0048791324
Marked as misclassified No
Message-id <1311683882.42.0.546856722781.issue12394@psf.upfronthosting.co.za>
In-reply-to
Content
Your tests contain this:

+        sys.path.append(source)

When using regrtest (see http://docs.python.org/devguide/runtests#running), you’ll get a warning that test_packaging altered sys.path.  Your code should make sure sys.path is restored to its previous test:

+        self.addCleanup(sys.path.remove, source)
         sys.path.append(source)

See the unittest.TestCase doc for more about addCleanup and tearDown.
History
Date User Action Args
2011-07-26 12:38:02eric.araujosetrecipients: + eric.araujo, mhammond, fdrake, vinay.sajip, ceder, tim.golden, tarek, alexis, higery
2011-07-26 12:38:02eric.araujosetmessageid: <1311683882.42.0.546856722781.issue12394@psf.upfronthosting.co.za>
2011-07-26 12:38:01eric.araujolinkissue12394 messages
2011-07-26 12:38:01eric.araujocreate