def test_objects_pk_range_bad(self):
        with pytest.raises(ValueError) as excinfo:
            list(Author.objects.iter_smart(pk_range="My Bad Value"))
        assert str(excinfo.value) in "Unrecognized value for pk_range"
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/SmartIteratorTests.test_objects_pk_range_bad/swapped operands of `in`