diff options
author | Georg Brandl <georg@python.org> | 2008-02-05 19:58:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-05 19:58:17 (GMT) |
commit | b70907796ac6e911f8683cce354fdeb94d24d73f (patch) | |
tree | c73b85870bc0881c8cf592cd9af803a2d82afea5 /Misc | |
parent | 3c0f309fd1bc480ba3f225aba516e248adcc103e (diff) | |
download | cpython-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/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |