mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
* Upd shape test
This commit is contained in:
parent
68d1cdad62
commit
a42321bd4e
|
@ -9,10 +9,10 @@ def test_capitalized():
|
|||
assert ws('Nasa') == 'Xxxx'
|
||||
|
||||
def test_truncate():
|
||||
assert ws('capitalized') == 'xxxxx'
|
||||
assert ws('capitalized') == 'xxxx'
|
||||
|
||||
def test_digits():
|
||||
assert ws('999999999') == 'ddddd'
|
||||
assert ws('999999999') == 'dddd'
|
||||
|
||||
def test_mix():
|
||||
assert ws('C3P0') == 'XdXd'
|
||||
|
|
Loading…
Reference in New Issue
Block a user