def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def test_cannot_write_empty_identifier(self):
        with self.assertRaises(ValueError):
            _ = cypher_escape("")