Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nltk/nltk
/ test_shortid_complex
Method
test_shortid_complex
nltk/test/unit/test_verbnet.py:79–80 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
77
assert self.shortid_re.match(
"114-1"
)
78
79
def
test_shortid_complex(self):
80
assert self.shortid_re.match(
"22.2-3-1-1"
)
81
82
def
test_shortid_rejects_alpha(self):
83
assert self.shortid_re.match(
"confess-37.10"
) is None
Callers
nothing calls this directly
Calls
1
match
Method · 0.45
Tested by
no test coverage detected