Message113080
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. |
|
Date |
User |
Action |
Args |
2010-08-06 07:03:28 | eli.bendersky | set | recipients:
+ eli.bendersky, georg.brandl, terry.reedy, amaury.forgeotdarc, belopolsky, pitrou, ezio.melotti |
2010-08-06 07:03:28 | eli.bendersky | set | messageid: <1281078208.49.0.306949719505.issue9315@psf.upfronthosting.co.za> |
2010-08-06 07:03:27 | eli.bendersky | link | issue9315 messages |
2010-08-06 07:03:26 | eli.bendersky | create | |
|