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 belopolsky
Recipients belopolsky
Date 2010-07-28.15:03:59
SpamBayes Score 0.008190305
Marked as misclassified No
Message-id <1280329442.24.0.0145405625071.issue9398@psf.upfronthosting.co.za>
In-reply-to
Content
Th sys.settrace and sys.setprofile functions have the same interface an very similar purpose.  The difference is in the types of events that get reported.  However the tests for these functions are implemented separately and cover different sets of scenarios.  As proposed in python-dev thread, "Does trace modules have a unit test?" [1], this RFE proposes to

"""
Create tracetester helper file with abstract test cases made
from the union of test_sys_settrace and  test_sys_setprofile test
cases and replace the concrete test cases in test_sys_set* with
subclasses that define setmethod, getmethod and expected_output.
"""
[1] http://mail.python.org/pipermail/python-dev/2010-July/102308.html

See also issue 9315.
History
Date User Action Args
2010-07-28 15:04:02belopolskysetrecipients: + belopolsky
2010-07-28 15:04:02belopolskysetmessageid: <1280329442.24.0.0145405625071.issue9398@psf.upfronthosting.co.za>
2010-07-28 15:04:00belopolskylinkissue9398 messages
2010-07-28 15:04:00belopolskycreate