Parcourir la source

Ignored some unused lines from coverage.

Taddeus Kroes il y a 14 ans
Parent
commit
af1fd43e72
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      tests/test_possibilities.py

+ 4 - 4
tests/test_possibilities.py

@@ -4,12 +4,12 @@ from src.possibilities import MESSAGES, Possibility as P, filter_duplicates
 from tests.test_rules_poly import tree
 
 
-def dummy_handler(root, args):
-    return root
+def dummy_handler(root, args):  # pragma: nocover
+    pass
 
 
-def dummy_handler_msg(root, args):
-    return root
+def dummy_handler_msg(root, args):  # pragma: nocover
+    pass
 
 
 MESSAGES[dummy_handler_msg] = 'foo {1} + {2} bar'