def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def test_should_encode_positive_float(self):
        encoded = cypher_repr(123.456)
        assert encoded == u"123.456"