[Python-Dev] Does trace modules have a unit test? (original) (raw)

Terry Reedy tjreedy at udel.edu
Mon Jul 19 06:02:31 CEST 2010


In reviewing http://bugs.python.org/issue9282 the issue came up, where is the unit test for trace.py?

test/test_trace.py is actually a test of the line trace facility of sys.settrace (and should have been called test_linetrace or test_settrace). The only trace import Eli could find in Lib/test is the one in regrtest.py for the -T option. Have we missed something?

If you say 'make one', what should be its name? Can the existing file be renamed (I gather this can be a bit of a problem)?

-- Terry Jan Reedy



More information about the Python-Dev mailing list