spaCy/spacy/tests/regression
Joshua Smith e8420ab2b7 Added support for serializing overwrite and ent_id_sep (#3918)
* Perserve flags in EntityRuler

The EntityRuler (explosion/spaCy#3526) does not preserve
overwrite flags (or `ent_id_sep`) when serialized.  This
commit adds support for serialization/deserialization preserving
overwrite and ent_id_sep flags.

* add signed contributor agreement

* flake8 cleanup

mostly blank line issues.

* mark test from the issue as needing a model

The test from the issue needs some language model for serialization
but the test wasn't originally marked correctly.

* remove unneeded model loading

The model didn't need to be loaded, and I replaced it with
a change that doesn't require it (using existings fixtures)

* change tempdir handling to be compatible with python 2.7

* Adds code to handle item saved before this change.

This code chanes how the save files are handled and how the bytes
are stored as well.  This code adds check to dispatch correctly
if it encounters bytes or files saved in the old format (and tests
for those cases).

* use util function for tempdir management

Updated after PR comments: this code now uses the make_tempdir function from util
instead of doing it by hand.
2019-07-08 17:28:28 +02:00
..
__init__.py Add __init__.py file for regression tests 2016-11-01 13:45:06 +01:00
test_issue1-1000.py Clean up of char classes, few tokenizer fixes and faster default French tokenizer (#3293) 2019-02-20 22:10:13 +01:00
test_issue1001-1500.py Clean up of char classes, few tokenizer fixes and faster default French tokenizer (#3293) 2019-02-20 22:10:13 +01:00
test_issue1501-2000.py Merge regression tests 2019-02-24 20:31:38 +01:00
test_issue2001-2500.py Tidy up 2019-03-11 13:34:14 +01:00
test_issue2501-3000.py Merge regression tests 2019-02-24 21:03:39 +01:00
test_issue3002.py Clean up of char classes, few tokenizer fixes and faster default French tokenizer (#3293) 2019-02-20 22:10:13 +01:00
test_issue3009.py Tidy up and fix small bugs and typos 2019-02-08 14:14:49 +01:00
test_issue3012.py Tidy up and fix small bugs and typos 2019-02-08 14:14:49 +01:00
test_issue3199.py Only run noun chunks iterator in Span if available (closes #3199) 2019-02-08 18:33:16 +01:00
test_issue3209.py Un-x-fail passing test 2019-02-24 20:24:15 +01:00
test_issue3248.py Tidy up and auto-format 2019-02-13 15:29:08 +01:00
test_issue3277.py 💫 Add en/em dash to prefixes and suffixes (#3281) 2019-02-15 10:29:59 +01:00
test_issue3288.py Tidy up tests 2019-02-24 14:11:23 +01:00
test_issue3289.py Tidy up tests 2019-02-24 14:11:23 +01:00
test_issue3328.py Auto-format 2019-02-27 11:56:45 +01:00
test_issue3331.py Add xfailing test for #3331 2019-02-25 22:33:30 +01:00
test_issue3345.py Un-xfail passing tests and tidy up 2019-03-10 18:42:16 +01:00
test_issue3356.py Auto-format 2019-04-01 12:11:27 +02:00
test_issue3410.py Add actual deprecation warning for n_threads (resolves #3410) 2019-03-15 16:38:44 +01:00
test_issue3447.py Auto-format 2019-04-01 12:11:27 +02:00
test_issue3449.py Tidy up and auto-format 2019-04-09 11:40:19 +02:00
test_issue3468.py Auto-format 2019-04-01 12:11:27 +02:00
test_issue3521.py addressed all comments by Ines 2019-04-03 13:50:33 +02:00
test_issue3526.py Added support for serializing overwrite and ent_id_sep (#3918) 2019-07-08 17:28:28 +02:00
test_issue3531.py Don't make "settings" or "title" required in displaCy data (closes #3531) 2019-04-03 10:13:16 +02:00
test_issue3549.py Ensure match pattern error isn't raised on empty errors (closes #3549) 2019-04-09 12:50:43 +02:00
test_issue3555.py Add xfailing test for #3555 2019-04-09 11:07:14 +02:00
test_issue3803.py Tidy up [ci skip] 2019-06-12 13:38:23 +02:00
test_issue3839.py Add regression test for #3839 2019-06-12 13:38:30 +02:00
test_issue3882.py Exclude user_data when copying doc in displaCy (closes #3882) 2019-06-26 14:37:05 +02:00