summaryrefslogtreecommitdiff
path: root/tests/test_runner/models.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-08 12:09:55 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-08 12:15:38 +0100
commit6a682b38e75d4c975b4c4493565a59f1bc14397c (patch)
tree0bd9cda550bea26238656d9f120d769e8b41bb9e /tests/test_runner/models.py
parente73ce08888e6f34d3f050377cfd2fbb733be94a9 (diff)
[4.0.x] Refs #33476 -- Reformatted code with Black.
Backport of 9c19aff7c7561e3a82978a272ecdaad40dda5c00 from main.
Diffstat (limited to 'tests/test_runner/models.py')
-rw-r--r--tests/test_runner/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_runner/models.py b/tests/test_runner/models.py
index 9b26dbfc1e..80bf8dd8c7 100644
--- a/tests/test_runner/models.py
+++ b/tests/test_runner/models.py
@@ -4,13 +4,13 @@ from django.db import models
class Person(models.Model):
first_name = models.CharField(max_length=20)
last_name = models.CharField(max_length=20)
- friends = models.ManyToManyField('self')
+ friends = models.ManyToManyField("self")
# A set of models that use a non-abstract inherited 'through' model.
class ThroughBase(models.Model):
person = models.ForeignKey(Person, models.CASCADE)
- b = models.ForeignKey('B', models.CASCADE)
+ b = models.ForeignKey("B", models.CASCADE)
class Through(ThroughBase):