summaryrefslogtreecommitdiff
path: root/tests/test_regexopt.py
diff options
context:
space:
mode:
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']