

def test_regex_repr(self):
    serializer_repr = repr(RegexSerializer())
    assert (self == expected_repr)

dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_validation.py TestRegexSerializer.test_regex_repr/VarMisuse@21/27 `serializer_repr`->`self`