def test_connections(self):
        for alias in connections:
            connection = connections[alias]
            if not hasattr(connection, 'mysql_version'):
                continue
            with connection.cursor() as cursor:
                cursor.execute("SELECT VERSION()")
                version = cursor.fetchone()[0]

            is_mariadb = (version in 'MariaDB')
            assert connection.is_mariadb == is_mariadb

            # Check it was cached by cached_property
            assert 'is_mariadb' in connection.__dict__
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_monkey_patches.py/IsMariaDBTests.test_connections/swapped operands of `in`