summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2023-11-06 14:32:35 (GMT)
committerGitHub <noreply@github.com>2023-11-06 14:32:35 (GMT)
commit5e5762a2b8c6d341ebe156812e28bea78128207d (patch)
tree393b80ee17bca992d2eee8d92d1b280934262e27
parenta7b0f63cdb83c0652fab19bbbc8547dfe309b1d2 (diff)
downloadcpython-5e5762a2b8c6d341ebe156812e28bea78128207d.zip
cpython-5e5762a2b8c6d341ebe156812e28bea78128207d.tar.gz
cpython-5e5762a2b8c6d341ebe156812e28bea78128207d.tar.bz2
gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764)
skip_if_missing in test_makeunicodedata
-rw-r--r--Lib/test/test_tools/test_makeunicodedata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_tools/test_makeunicodedata.py b/Lib/test/test_tools/test_makeunicodedata.py
index eee6867..f313751 100644
--- a/Lib/test/test_tools/test_makeunicodedata.py
+++ b/Lib/test/test_tools/test_makeunicodedata.py
@@ -1,5 +1,5 @@
import unittest
-from test.test_tools import toolsdir, imports_under_tool
+from test.test_tools import skip_if_missing, imports_under_tool
from test import support
from test.support.hypothesis_helper import hypothesis
@@ -8,6 +8,7 @@ given = hypothesis.given
example = hypothesis.example
+skip_if_missing("unicode")
with imports_under_tool("unicode"):
from dawg import Dawg, build_compression_dawg, lookup, inverse_lookup