mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed typo in tests/generic_views/test_base.py.
This commit is contained in:
@@ -250,7 +250,7 @@ class ViewTest(SimpleTestCase):
|
||||
def test_not_calling_parent_setup_error(self):
|
||||
class TestView(View):
|
||||
def setup(self, request, *args, **kwargs):
|
||||
pass # Not calling supre().setup()
|
||||
pass # Not calling super().setup()
|
||||
|
||||
msg = (
|
||||
"TestView instance has no 'request' attribute. Did you override "
|
||||
|
||||
Reference in New Issue
Block a user