Fix backslashes in warnings config diff (#5640)

Fix backslashes in warnings config diff in v2.3 migration section.
This commit is contained in:
Adriane Boyd 2020-06-24 10:26:12 +02:00
parent 4f73ced914
commit a2660bd9c6
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ import spacy
+ import warnings
- spacy.errors.SPACY_WARNING_IGNORE.append('W007')
+ warnings.filterwarnings("ignore", message=r"\[W007\]", category=UserWarning)
+ warnings.filterwarnings("ignore", message=r"\\[W007\\]", category=UserWarning)
```
#### Normalization tables