summaryrefslogtreecommitdiff
path: root/tests/test_regexopt.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_regexopt.py
parentcffc5df62c258ca39fc7474f7197f2df33ab014f (diff)
downloadpygments-git-regex.tar.gz
all: convert "re" to "regex"regex
Diffstat (limited to 'tests/test_regexopt.py')
-rw-r--r--tests/test_regexopt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_regexopt.py b/tests/test_regexopt.py
index 2116467e..e459066e 100644
--- a/tests/test_regexopt.py
+++ b/tests/test_regexopt.py
@@ -6,10 +6,11 @@
:license: BSD, see LICENSE for details.
"""
-import re
import random
from itertools import combinations_with_replacement
+import regex as re
+
from pygments.regexopt import regex_opt
ALPHABET = ['a', 'b', 'c', 'd', 'e']