def test_not_covered_while_node(self): self.assert_mutation('while False:' + EOL + INDENT + 'while False:' + EOL + 2 * INDENT + PASS, [ 'while (not False):' + EOL + INDENT + 'while False:' + EOL + 2 * INDENT + PASS ], operator=operators.ConditionalOperatorInsertion(), with_coverage=True)
def setUpClass(cls): cls.op = operators.ConditionalOperatorInsertion()