From 3eb3907bb1b4d8e57331d4a8181b28971613b761 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 9 Jun 2017 17:32:18 +0100 Subject: Refs #23919 -- Replaced stray super(ClassName, self) with super(). --- tests/model_forms/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_forms') diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index e636d212d8..96f6d6985b 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -1666,7 +1666,7 @@ class ModelChoiceFieldTests(TestCase): category = forms.ModelChoiceField(queryset=None) def __init__(self, *args, **kwargs): - super(ModelChoiceForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) self.fields['category'].queryset = Category.objects.filter(slug__contains='test') form = ModelChoiceForm() -- cgit v1.3