def setSyntax(self, syntax):
        """Choose smart indentation algorithm according to syntax"""
        self._smartIndenter = self._chooseSmartIndenter(syntax)
def test_edges(self):
        self.assertEqual(self.myfunc('a', third=None), self.expected)