1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

@@ -33,7 +33,6 @@ requires_gettext_019 = skipIf(
@skipUnless(has_xgettext, "xgettext is mandatory for extraction tests")
class ExtractorTests(POFileAssertionMixin, RunInTmpDirMixin, SimpleTestCase):
work_subdir = "commands"
PO_FILE = "locale/%s/LC_MESSAGES/django.po" % LOCALE
@@ -593,7 +592,6 @@ class BasicExtractorTests(ExtractorTests):
class JavaScriptExtractorTests(ExtractorTests):
PO_FILE = "locale/%s/LC_MESSAGES/djangojs.po" % LOCALE
def test_javascript_literals(self):
@@ -706,7 +704,6 @@ class SymlinkExtractorTests(ExtractorTests):
class CopyPluralFormsExtractorTests(ExtractorTests):
PO_FILE_ES = "locale/es/LC_MESSAGES/django.po"
def test_copy_plural_forms(self):
@@ -872,7 +869,6 @@ class LocationCommentsTests(ExtractorTests):
class KeepPotFileExtractorTests(ExtractorTests):
POT_FILE = "locale/django.pot"
def test_keep_pot_disabled_by_default(self):
@@ -917,7 +913,6 @@ class MultipleLocaleExtractionTests(ExtractorTests):
class ExcludedLocaleExtractionTests(ExtractorTests):
work_subdir = "exclude"
LOCALES = ["en", "fr", "it"]
@@ -972,7 +967,6 @@ class ExcludedLocaleExtractionTests(ExtractorTests):
class CustomLayoutExtractionTests(ExtractorTests):
work_subdir = "project_dir"
def test_no_locale_raises(self):