From 5e5762a2b8c6d341ebe156812e28bea78128207d Mon Sep 17 00:00:00 2001 From: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com> Date: Mon, 6 Nov 2023 09:32:35 -0500 Subject: gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764) skip_if_missing in test_makeunicodedata --- Lib/test/test_tools/test_makeunicodedata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v0.12