Commit dfd85838 authored by Taddeus Kroes's avatar Taddeus Kroes

Added coverage exceptions to rule message functions.

parent 7d602a84
...@@ -67,7 +67,7 @@ def solve_indef(root, args): ...@@ -67,7 +67,7 @@ def solve_indef(root, args):
return substitute(Fx, x, b) - substitute(Fx, x, a) return substitute(Fx, x, b) - substitute(Fx, x, a)
def solve_indef_msg(root, args): def solve_indef_msg(root, args): # pragma: nocover
return _('Solve indefinite integral {0} using substitution ' \ return _('Solve indefinite integral {0} using substitution ' \
'of %s with {0[2]} and {0[1]}.' % find_variable(root[0])) 'of %s with {0[2]} and {0[1]}.' % find_variable(root[0]))
......
...@@ -98,7 +98,7 @@ def subtract_term(root, args): ...@@ -98,7 +98,7 @@ def subtract_term(root, args):
return eq(left - term, right - term) return eq(left - term, right - term)
def subtract_term_msg(root, args): def subtract_term_msg(root, args): # pragma: nocover
term = args[0] term = args[0]
if term.negated == 1: if term.negated == 1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment