#7092: Silence more py3k warnings. Patch by Florent Xicluna.

This commit is contained in:
Ezio Melotti 2010-02-03 05:37:26 +00:00
parent 17ae2ba78f
commit dde5b94875
39 changed files with 102 additions and 85 deletions

View file

@ -159,6 +159,7 @@ import time
import traceback
import warnings
import unittest
import imp
# Ignore ImportWarnings that only occur in the source tree,
@ -955,7 +956,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks):
indirect_test()
else:
def run_the_test():
reload(the_module)
imp.reload(the_module)
deltas = []
nwarmup, ntracked, fname = huntrleaks