From d6eaf7c0183cd04b78f2a55e1d60bb7e59598310 Mon Sep 17 00:00:00 2001 From: chillaranand Date: Sat, 21 Jan 2017 18:43:44 +0530 Subject: Refs #23919 -- Replaced super(ClassName, self) with super(). --- tests/validation/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/validation') diff --git a/tests/validation/models.py b/tests/validation/models.py index 043aa4ded7..f954cc3a4f 100644 --- a/tests/validation/models.py +++ b/tests/validation/models.py @@ -33,7 +33,7 @@ class ModelToValidate(models.Model): slug = models.SlugField(blank=True) def clean(self): - super(ModelToValidate, self).clean() + super().clean() if self.number == 11: raise ValidationError('Invalid number supplied!') -- cgit v1.3