瀏覽代碼

Add clarifying comment

Alois Mahdal 10 年之前
父節點
當前提交
e282370ab8
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      sznqalibs/hoover.py

+ 1
- 0
sznqalibs/hoover.py 查看文件

@@ -113,6 +113,7 @@ def regression_test(argsrc, tests, driver_settings, cleanup_hack=None,
113 113
                 # do not clutter up the report
114 114
                 if not match_op == operator.eq:
115 115
                     case.hack(cleanup_hack)
116
+                    # but panic if that "removed" the error condition
116 117
                     if match_op(case['oracle'], case['result']):
117 118
                         raise RuntimeError("cleanup ate error")
118 119