From 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 Mon Sep 17 00:00:00 2001 From: David Smith Date: Wed, 1 Feb 2023 07:13:39 +0000 Subject: 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 --- tests/forms_tests/field_tests/test_floatfield.py | 1 - tests/forms_tests/tests/test_widgets.py | 1 - 2 files changed, 2 deletions(-) (limited to 'tests/forms_tests') diff --git a/tests/forms_tests/field_tests/test_floatfield.py b/tests/forms_tests/field_tests/test_floatfield.py index 459ea878de..276520f04d 100644 --- a/tests/forms_tests/field_tests/test_floatfield.py +++ b/tests/forms_tests/field_tests/test_floatfield.py @@ -133,7 +133,6 @@ class FloatFieldTest(FormFieldAssertionsMixin, SimpleTestCase): @override_settings(ROOT_URLCONF="forms_tests.urls") class FloatFieldHTMLTest(SeleniumTestCase): - available_apps = ["forms_tests"] def test_float_field_rendering_passes_client_side_validation(self): diff --git a/tests/forms_tests/tests/test_widgets.py b/tests/forms_tests/tests/test_widgets.py index e28c1f2462..2718b1d2f1 100644 --- a/tests/forms_tests/tests/test_widgets.py +++ b/tests/forms_tests/tests/test_widgets.py @@ -7,7 +7,6 @@ from ..models import Article @override_settings(ROOT_URLCONF="forms_tests.urls") class LiveWidgetTests(AdminSeleniumTestCase): - available_apps = ["forms_tests"] + AdminSeleniumTestCase.available_apps def test_textarea_trailing_newlines(self): -- cgit v1.3