mirror of
https://github.com/python/cpython
synced 2024-10-14 11:31:56 +00:00
gh-96954: Use skip_if_missing in test_makeunicodedata (GH-111764)
skip_if_missing in test_makeunicodedata
This commit is contained in:
parent
a7b0f63cdb
commit
5e5762a2b8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue