瀏覽代碼

Add clarifying comment

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

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

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