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 brian.curtin
Recipients brian.curtin, jaraco
Date 2010-01-22.02:59:51
SpamBayes Score 1.2231564e-07
Marked as misclassified No
Message-id <1264129193.05.0.212546281894.issue7750@psf.upfronthosting.co.za>
In-reply-to
Content
Can you add your test to Lib/test/test_pdb.py?

If the test fails the "hello world" script won't be removed, it won't make it to os.remove(). You'll need to make sure the file gets deleted in any case. Could use a temporary file.

Can you condense the cmd stuff into less lines? Super minor thing, but it's all short lines anyways.

Rather than testing using failIf, assertFalse is a better alternative. In 2.7 there is assertIn which would be ideal for this test, but this will go into 2.6 as well.
History
Date User Action Args
2010-01-22 02:59:53brian.curtinsetrecipients: + brian.curtin, jaraco
2010-01-22 02:59:53brian.curtinsetmessageid: <1264129193.05.0.212546281894.issue7750@psf.upfronthosting.co.za>
2010-01-22 02:59:51brian.curtinlinkissue7750 messages
2010-01-22 02:59:51brian.curtincreate