def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def test_positive_negative_input(self):
        assert_raises(ValueError, lambda: inputs.positive(-1))