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 eli.bendersky
Recipients amaury.forgeotdarc, belopolsky, eli.bendersky, ezio.melotti, georg.brandl, pitrou, terry.reedy
Date 2010-08-06.07:03:20
SpamBayes Score 2.095397e-09
Marked as misclassified No
Message-id <1281078208.49.0.306949719505.issue9315@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a new patch for unit-testing of trace.py. Changes:

1. Fixed the problems that caused failures when run through regrtest
2. Added the test class from issue 3821
3. Removed the fake module creation, replacing it with a directory named 'tracedmodules' in Lib/test where a test module resides. If you can think of a better name, please let me know.

As far as I see, the tests now run correctly both stand-alone and as part of 'python regrtest.py'. I have also fixed all whitespace issues. The patch was created vs. latest SVN checkout from the 2.7 maintenance branch.
History
Date User Action Args
2010-08-06 07:03:28eli.benderskysetrecipients: + eli.bendersky, georg.brandl, terry.reedy, amaury.forgeotdarc, belopolsky, pitrou, ezio.melotti
2010-08-06 07:03:28eli.benderskysetmessageid: <1281078208.49.0.306949719505.issue9315@psf.upfronthosting.co.za>
2010-08-06 07:03:27eli.benderskylinkissue9315 messages
2010-08-06 07:03:26eli.benderskycreate