def mark_database():
    if get_db_engine() == 'postgresql_psycopg2':
        r = run_cmd('psql', TEST_DB_NAME, '-c', 'CREATE TABLE mark_table();')
        assert r.status_code == 0
        return

    if get_db_engine() == 'mysql':
        r = run_mysql(TEST_DB_NAME, '-e', 'CREATE TABLE mark_table(kaka int);')
        assert r.status_code == 0
        return

    if get_db_engine() == 'sqlite3':
        if TEST_DB_NAME == ':memory:':
            raise AssertionError('sqlite in-memory database cannot be marked!')

        conn = sqlite3.connect(TEST_DB_NAME)
        try:
            with conn:
                conn.execute('CREATE TABLE mark_table(kaka int);')
        finally:  # Close the DB even if an error is raised
            conn.close()
        return

    raise AssertionError(get_db_engine() % '%s cannot be tested properly!')
dataset/ETHPy150Open pytest-dev/pytest-django/pytest_django_test/db_helpers.py/mark_database/swapped operands of `%`