summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-05 19:58:17 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-05 19:58:17 (GMT)
commitb70907796ac6e911f8683cce354fdeb94d24d73f (patch)
treec73b85870bc0881c8cf592cd9af803a2d82afea5 /Misc
parent3c0f309fd1bc480ba3f225aba516e248adcc103e (diff)
downloadcpython-b70907796ac6e911f8683cce354fdeb94d24d73f.zip
cpython-b70907796ac6e911f8683cce354fdeb94d24d73f.tar.gz
cpython-b70907796ac6e911f8683cce354fdeb94d24d73f.tar.bz2
* Use the same code to profile for test_profile and test_cprofile.
* Convert both to unittest. * Use the same unit testing code. * Include the expected output in both test files. * Make it possible to regenerate the expected output by running the file as a script with an '-r' argument.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index cf07233..7bb43e1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1287,6 +1287,8 @@ Extension Modules
Tests
-----
+- Refactor test_profile and test_cprofile to use the same code to profile.
+
- Make test_runpy reentrant by fixing _check_module to clear out any module
being tested. Was causing an error by __import__ doing a reload on the
second run and thus suppressing bytecode recreation.