]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Change test_profile to only compare data that originates from the test file.
authorBrett Cannon <bcannon@gmail.com>
Sat, 1 Mar 2008 04:28:23 +0000 (04:28 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sat, 1 Mar 2008 04:28:23 +0000 (04:28 +0000)
commitc17b35c6b444817b178bffbc061b89d581ffc1e0
tree98935c828209e2330dd51f2531cb92197a36c901
parent3af831bacac9626b62039f7bcf777a5f1202493b
Change test_profile to only compare data that originates from the test file.
Including the full output becomes hairy in the face of the I/O system being
written in Python and thus profiled (i.e., running the test on its own and then
under regrtest created a different profile thanks to an extra flush() call in
the latter case).

No need to backport as 2.x's I/O is entirely C-based and thus not profiled.
Lib/test/test_profile.py