#36664: Python 3.15 compatibility.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
| Felisiak
Type: New feature | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):
On another topic, we have a failure in `test_max_diff` also due to the new
`pprint` defaults. It's only a matter of doing this, because the output of
`assertDictEqual()` is now more compact...
{{{#!diff
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py
index e54b9ef624..18a35c018a 100644
--- a/tests/test_utils/tests.py
+++ b/tests/test_utils/tests.py
@@ -353,7 +353,7 @@ class AssertQuerySetEqualTests(TestCase):
)
def test_maxdiff(self):
- names = ["Joe Smith %s" % i for i in range(20)]
+ names = ["Joe Smith %s" % i for i in range(25)]
Person.objects.bulk_create([Person(name=name) for name in names])
names.append("Extra Person")
}}}
but they change
[https://github.com/python/cpython/issues/149189#issuecomment-4416150007
might be reverted], so let's wait.
--
Ticket URL: <https://code.djangoproject.com/ticket/36664#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e1de23646-f9dd1a1f-e918-4ee0-b625-52887af543d4-000000%40eu-central-1.amazonses.com.