aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_tools/test_makeunicodedata.py
diff options
context:
space:
mode:
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>2023-11-06 09:32:35 -0500
committerGitHub <noreply@github.com>2023-11-06 15:32:35 +0100
commit5e5762a2b8c6d341ebe156812e28bea78128207d (patch)
tree393b80ee17bca992d2eee8d92d1b280934262e27 /Lib/test/test_tools/test_makeunicodedata.py
parenta7b0f63cdb83c0652fab19bbbc8547dfe309b1d2 (diff)
downloadcpython-5e5762a2b8c6d341ebe156812e28bea78128207d.tar.gz
cpython-5e5762a2b8c6d341ebe156812e28bea78128207d.zip
gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764)
skip_if_missing in test_makeunicodedata
Diffstat (limited to 'Lib/test/test_tools/test_makeunicodedata.py')
-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 eee68676416..f31375117e2 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