0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00

gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764)

skip_if_missing in test_makeunicodedata
This commit is contained in:
Dennis Sweeney 2023-11-06 09:32:35 -05:00 committed by GitHub
parent a7b0f63cdb
commit 5e5762a2b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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