def test_use_index_table_name(self):
        extra_table = 'testapp_authorextra'
        with CaptureLastQuery() as cap:
            list(Author.objects
                       .select_related('authorextra')
                       .use_index('PRIMARY', table_name=extra_table))
        assert cap.query in '`' + extra_table + '` USE INDEX (`PRIMARY`) '
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/QueryHintTests.test_use_index_table_name/swapped operands of `in`