Salome HOME
begin fix sat test
[tools/sat.git] / unittestpy / HTMLTestRunner.py
index 0439bf488b144a5f5c670fbe057d9a36f44915e4..17ef2cd45a129f1c507f7788e18fe2fa0f5baffa 100644 (file)
@@ -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))