summaryrefslogtreecommitdiff
path: root/tests/foreign_object
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:04:38 +0100
commit097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch)
tree7042be9ee3aabda10ecfa8923a113388b81f34a8 /tests/foreign_object
parent8c660fb59239828583f17cdede3b64f208b8752c (diff)
downloaddjango-097e3a70c1481ee7b042b2edd91b2be86fb7b5b6.tar.gz
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
Diffstat (limited to 'tests/foreign_object')
-rw-r--r--tests/foreign_object/tests.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/foreign_object/tests.py b/tests/foreign_object/tests.py
index 733e40831c..3c06f07e06 100644
--- a/tests/foreign_object/tests.py
+++ b/tests/foreign_object/tests.py
@@ -93,7 +93,6 @@ class MultiColumnFKTests(TestCase):
self.assertIs(membership.person, self.bob)
def test_query_filters_correctly(self):
-
# Creating a to valid memberships
Membership.objects.create(
membership_country_id=self.usa.id,
@@ -120,7 +119,6 @@ class MultiColumnFKTests(TestCase):
)
def test_reverse_query_filters_correctly(self):
-
timemark = datetime.datetime.now(tz=datetime.timezone.utc).replace(tzinfo=None)
timedelta = datetime.timedelta(days=1)