X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=unittestpy%2FHTMLTestRunner.py;h=17ef2cd45a129f1c507f7788e18fe2fa0f5baffa;hb=4090372e27f86919964c6a73d566fed80dd709c1;hp=0439bf488b144a5f5c670fbe057d9a36f44915e4;hpb=5fd8653b247610abe6f4aa49e752bf5dc1bc453e;p=tools%2Fsat.git diff --git a/unittestpy/HTMLTestRunner.py b/unittestpy/HTMLTestRunner.py index 0439bf4..17ef2cd 100644 --- a/unittestpy/HTMLTestRunner.py +++ b/unittestpy/HTMLTestRunner.py @@ -639,7 +639,7 @@ class HTMLTestRunner(Template_mixin): classes = [] for n,t,o,e in result_list: cls = t.__class__ - if not rmap.has_key(cls): + if not cls in rmap: rmap[cls] = [] classes.append(cls) rmap[cls].append((n,t,o,e))