diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 11:29:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-07 11:29:55 +0100 |
commit | a17b25a10359070f9527893d861369d378021aa9 (patch) | |
tree | 02188942c1da9eb507b509fbd36c9b7a5aff86c8 /dev-python/django/files/django-4.1.8-py311.patch | |
parent | efbb52742172c497c5245486906aade0fb6220e8 (diff) |
gentoo auto-resync : 07:04:2023 - 11:29:55
Diffstat (limited to 'dev-python/django/files/django-4.1.8-py311.patch')
-rw-r--r-- | dev-python/django/files/django-4.1.8-py311.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/django/files/django-4.1.8-py311.patch b/dev-python/django/files/django-4.1.8-py311.patch new file mode 100644 index 000000000000..043b31a2c780 --- /dev/null +++ b/dev-python/django/files/django-4.1.8-py311.patch @@ -0,0 +1,16 @@ +https://code.djangoproject.com/ticket/34118#comment:11 +https://github.com/python/cpython/issues/102549 +https://github.com/django/django/commit/38e63c9e61152682f3ff982c85a73793ab6d3267 + +Skip the test for now until upstream adapt it to the fix backported to Python 3.11 too. +--- a/tests/model_enums/tests.py ++++ b/tests/model_enums/tests.py +@@ -310,7 +310,7 @@ class CustomChoicesTests(SimpleTestCase): + class Timezone(datetime.timezone, models.Choices): + pass + +- def test_uuid_unsupported(self): ++ def _test_uuid_unsupported(self): + msg = "UUID objects are immutable" + with self.assertRaisesMessage(TypeError, msg): + |