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
This commit is contained in:
David Smith 2023-02-01 07:13:39 +00:00 committed by Mariusz Felisiak
parent 8c660fb592
commit 097e3a70c1
238 changed files with 36 additions and 280 deletions

View file

@ -68,6 +68,7 @@ class SkippingTestCase(SimpleTestCase):
"""
Testing the django.test.skipUnlessDBFeature decorator.
"""
# Total hack, but it works, just want an attribute that's always true.
@skipUnlessDBFeature("__class__")
def test_func():
@ -1679,7 +1680,6 @@ class SetupTestEnvironmentTests(SimpleTestCase):
class OverrideSettingsTests(SimpleTestCase):
# #21518 -- If neither override_settings nor a setting_changed receiver
# clears the URL cache between tests, then one of test_first or
# test_second will fail.