Beispiel #1
0
 def test_not_covered_expr_node(self):
     self.assert_mutation(
         '1 + 1' + EOL + 'if False:' + EOL + INDENT + '1 + 1',
         ['1 - 1' + EOL + 'if False:' + EOL + INDENT + '1 + 1'],
         operator=operators.ArithmeticOperatorReplacement(),
         with_coverage=True)
Beispiel #2
0
 def setUpClass(cls):
     cls.op = operators.ArithmeticOperatorReplacement()