From 043e2f39852593d11bd5a500dda308fd2c606507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Sun, 17 Nov 2024 16:43:05 +0100 Subject: [PATCH] don't filter warnings fixes: https://github.com/odeoncg/django-pygments/pull/14 --- django_pygments/utils.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/django_pygments/utils.py b/django_pygments/utils.py index 627926c..4548f9b 100644 --- a/django_pygments/utils.py +++ b/django_pygments/utils.py @@ -1,10 +1,7 @@ -import warnings -warnings.simplefilter('ignore') import re from functools import reduce from pygments.lexers import LEXERS, get_lexer_by_name -warnings.resetwarnings() from pygments import highlight from pygments.formatters import HtmlFormatter try: