spaCy/spacy/tests/doc
Matthew Honnibal 2c2db0c492 💫 Allow Span to take text label (#3031)
Fixes #3027.

* Allow Span.__init__ to take unicode values for the `label` argument.
* Allow `Span.label_` to be writeable.

- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-12-08 13:08:41 +01:00
..
__init__.py Rename "tokens" tests to "doc" 2017-01-11 18:59:01 +01:00
test_add_entities.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_array.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_creation.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_doc_api.py 💫 New JSON helpers, training data internals & CLI rewrite (#2932) 2018-11-30 20:16:14 +01:00
test_pickle_doc.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_span.py 💫 Allow Span to take text label (#3031) 2018-12-08 13:08:41 +01:00
test_span_merge.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00
test_to_json.py 💫 New JSON helpers, training data internals & CLI rewrite (#2932) 2018-11-30 20:16:14 +01:00
test_token_api.py 💫 Tidy up and auto-format tests (#2967) 2018-11-27 01:09:36 +01:00
test_underscore.py Tidy up and format remaining files 2018-11-30 17:43:08 +01:00