commit | dde5b94875460e704099593766f4a5bc3279483d | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Wed Feb 03 05:37:26 2010 +0000 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Wed Feb 03 05:37:26 2010 +0000 |
tree | d0c369148bd2d2f723896839aada008ef931ff19 | |
parent | 17ae2ba78f96d661bdd1d8e2e8f96016c4aa4a60 [diff] [blame] |
#7092: Silence more py3k warnings. Patch by Florent Xicluna.
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 6bc0dc3..db93db1 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py
@@ -159,6 +159,7 @@ import traceback import warnings import unittest +import imp # Ignore ImportWarnings that only occur in the source tree, @@ -955,7 +956,7 @@ indirect_test() else: def run_the_test(): - reload(the_module) + imp.reload(the_module) deltas = [] nwarmup, ntracked, fname = huntrleaks