@staticmethod
    def test_length():
        query = 'SELECT 1; SELECT 2;'
        result = 2
        eq_(len(SqlScript(query)), result)
The same as s.rsplit(sep, 1), but works in 2.3
dataset/ETHPy150Open coursera/dataduct/dataduct/database/sql/tests/test_sql_script.py/TestSqlScript.test_length--crossover with--dataset/ETHPy150Open nedbat/byterun/byterun/execfile.py/rsplit1