mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0
Backport of 097e3a70c1 from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
8a7b22d4a6
commit
80aae83439
@@ -51,7 +51,6 @@ class StackedMixinsView2(
|
||||
|
||||
|
||||
class AccessMixinTests(TestCase):
|
||||
|
||||
factory = RequestFactory()
|
||||
|
||||
def test_stacked_mixins_success(self):
|
||||
@@ -134,7 +133,6 @@ class AccessMixinTests(TestCase):
|
||||
|
||||
|
||||
class UserPassesTestTests(SimpleTestCase):
|
||||
|
||||
factory = RequestFactory()
|
||||
|
||||
def _test_redirect(self, view=None, url="/accounts/login/?next=/rand"):
|
||||
@@ -213,7 +211,6 @@ class UserPassesTestTests(SimpleTestCase):
|
||||
|
||||
|
||||
class LoginRequiredMixinTests(TestCase):
|
||||
|
||||
factory = RequestFactory()
|
||||
|
||||
@classmethod
|
||||
@@ -243,7 +240,6 @@ class LoginRequiredMixinTests(TestCase):
|
||||
|
||||
|
||||
class PermissionsRequiredMixinTests(TestCase):
|
||||
|
||||
factory = RequestFactory()
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user