diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-02-26 15:11:46 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-02-26 15:11:46 +0100 |
| commit | 5bbf33ab5c28f5577e7b56c07d93e166a85472fd (patch) | |
| tree | 259aa0d5e4c1fd45fa8789e486fa54b19a4b0e65 /dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch | |
| parent | 1fef47a7e3dcf890d69fab54813cf9c1a7ea31c2 (diff) | |
| download | gentoo-5bbf33ab5c28f5577e7b56c07d93e166a85472fd.tar.gz gentoo-5bbf33ab5c28f5577e7b56c07d93e166a85472fd.tar.bz2 gentoo-5bbf33ab5c28f5577e7b56c07d93e166a85472fd.zip | |
dev-python/django-debug-toolbar: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch')
| -rw-r--r-- | dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch b/dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch deleted file mode 100644 index 69a5558da31b..000000000000 --- a/dev-python/django-debug-toolbar/files/django-debug-toolbar-4.2.0-py312.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/tests/panels/test_profiling.py 2023-12-30 20:02:22.263807899 +0100 -+++ b/tests/panels/test_profiling.py 2023-12-30 20:03:44.655458186 +0100 -@@ -1,3 +1,6 @@ -+import sys -+import unittest -+ - from django.contrib.auth.models import User - from django.db import IntegrityError, transaction - from django.http import HttpResponse -@@ -50,6 +53,10 @@ - self.assertNotIn("render", content) - self.assertValidHTML(content) - -+ @unittest.skipUnless( -+ sys.version_info < (3, 12, 0), -+ "Python 3.12 no longer contains a frame for list comprehensions.", -+ ) - def test_listcomp_escaped(self): - self._get_response = lambda request: listcomp_view(request) - response = self.panel.process_request(self.request) |
