Source

namedentities / test / test.py

Full commit
1
2
3
4
5
6
7
8


import six
from namedentities import named_entities

def test_ne():
    u = six.u('both em\u2014and–dashes…')
    assert named_entities(u) == six.u("both em\u2014and–dashes…")