summaryrefslogtreecommitdiff
path: root/tests/model_forms
diff options
context:
space:
mode:
authorTom <tom@tomforb.es>2017-06-09 17:32:18 +0100
committerTim Graham <timograham@gmail.com>2017-06-10 20:46:43 -0400
commit3eb3907bb1b4d8e57331d4a8181b28971613b761 (patch)
tree4444a83553228280e327f7928c45aadebb7ab09b /tests/model_forms
parent1a49b8947033fd667310b1b996330a8e119fcbf9 (diff)
Refs #23919 -- Replaced stray super(ClassName, self) with super().
Diffstat (limited to 'tests/model_forms')
-rw-r--r--tests/model_forms/tests.py2
1 files changed, 1 insertions, 1 deletions
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()