diff options
author | chillaranand <anand21nanda@gmail.com> | 2017-01-21 18:43:44 +0530 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-01-25 12:23:46 -0500 |
commit | d6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch) | |
tree | ab02fd9949d4bfa23e27dea45e213ce334c883f0 /tests/inline_formsets | |
parent | dc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff) | |
download | django-d6eaf7c0183cd04b78f2a55e1d60bb7e59598310.tar.gz |
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'tests/inline_formsets')
-rw-r--r-- | tests/inline_formsets/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/inline_formsets/tests.py b/tests/inline_formsets/tests.py index fd51714cda..1769bc0f49 100644 --- a/tests/inline_formsets/tests.py +++ b/tests/inline_formsets/tests.py @@ -194,7 +194,7 @@ class InlineFormsetFactoryTest(TestCase): class PoemModelForm(ModelForm): def __init__(self, *args, **kwargs): assert 'poet' in self._meta.fields - super(PoemModelForm, self).__init__(*args, **kwargs) + super().__init__(*args, **kwargs) poet = Poet.objects.create(name='test') poet.poem_set.create(name='first test poem') |