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
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							8a7b22d4a6
						
					
				
				
					commit
					80aae83439
				
			| @@ -79,7 +79,6 @@ class StateTests(SimpleTestCase): | ||||
|                 indexes = [models.Index(fields=["title"])] | ||||
|  | ||||
|         class Food(models.Model): | ||||
|  | ||||
|             food_mgr = FoodManager("a", "b") | ||||
|             food_qs = FoodQuerySet.as_manager() | ||||
|             food_no_mgr = NoMigrationFoodManager("x", "y") | ||||
| @@ -94,7 +93,6 @@ class StateTests(SimpleTestCase): | ||||
|                 apps = new_apps | ||||
|  | ||||
|         class FoodNoDefaultManager(models.Model): | ||||
|  | ||||
|             food_no_mgr = NoMigrationFoodManager("x", "y") | ||||
|             food_mgr = FoodManager("a", "b") | ||||
|             food_qs = FoodQuerySet.as_manager() | ||||
| @@ -1820,7 +1818,6 @@ class ModelStateTests(SimpleTestCase): | ||||
|         new_apps = Apps(["migrations"]) | ||||
|  | ||||
|         class Food(models.Model): | ||||
|  | ||||
|             food_mgr = FoodManager("a", "b") | ||||
|             food_qs = FoodQuerySet.as_manager() | ||||
|             food_no_mgr = NoMigrationFoodManager("x", "y") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user