def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def test_date_input(self):
        assert_equal(inputs.date("2008-08-01"), datetime(2008, 8, 1))