summaryrefslogtreecommitdiff
path: root/tests/test_terminal_formatter.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2022-10-27 07:18:16 +0200
committerGeorg Brandl <georg@python.org>2022-10-27 12:15:22 +0200
commit629c448bdcbd7ca9f5d530c0ef10fa3bcd7ccbff (patch)
tree0d16b78a78b188e1f3ef28746b87ada37bdd804e /tests/test_terminal_formatter.py
parentcffc5df62c258ca39fc7474f7197f2df33ab014f (diff)
downloadpygments-git-regex.tar.gz
all: convert "re" to "regex"regex
Diffstat (limited to 'tests/test_terminal_formatter.py')
-rw-r--r--tests/test_terminal_formatter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_terminal_formatter.py b/tests/test_terminal_formatter.py
index c1a7ec7b..6e936e7b 100644
--- a/tests/test_terminal_formatter.py
+++ b/tests/test_terminal_formatter.py
@@ -6,9 +6,10 @@
:license: BSD, see LICENSE for details.
"""
-import re
from io import StringIO
+import regex as re
+
from pygments.lexers.sql import PlPgsqlLexer
from pygments.formatters import TerminalFormatter, Terminal256Formatter, \
HtmlFormatter, LatexFormatter