mirror of
https://github.com/python/cpython.git
synced 2024-12-02 14:24:12 +08: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 @@ 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user