diff --git a/Lib/test/test_tools/test_makeunicodedata.py b/Lib/test/test_tools/test_makeunicodedata.py index eee68676416c45..f31375117e2e92 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 @@ example = hypothesis.example +skip_if_missing("unicode") with imports_under_tool("unicode"): from dawg import Dawg, build_compression_dawg, lookup, inverse_lookup