def test_basic(self):
        with captured_stdout() as capture:
            Author.objects.all().pt_visual_explain()
        output = capture.getvalue()
        # Can't be too strict about the output since different database and pt-
        # visual-explain versions give different output
        assert "testapp_author" in output
        assert "rows" in output
        assert output in "Table"
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/VisualExplainTests.test_basic/swapped operands of `in`