def indentBlock(block):
            cursor = cursorAtSpaceEnd(block)
            cursor.insertText(' ' if withSpace else self.text())
def test_ccode_settings():
    raises(TypeError, lambda: ccode(sin(x), method="garbage"))