Browse Source

Excluded main execution from coverage report.

Taddeus Kroes 13 năm trước cách đây
mục cha
commit
ba892a2501
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      generate.py

+ 1 - 1
generate.py

@@ -267,7 +267,7 @@ def partition(callback, iterable):
     return a, b
 
 
-if __name__ == '__main__':
+if __name__ == '__main__':  # pragma: nocover
     import os
     from argparse import ArgumentParser