From c4ac981e6dd984720b719523b6d5e389195a8111 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 10 Aug 2018 00:42:54 +0200 Subject: [PATCH] Try again to filter warnings --- spacy/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spacy/__init__.py b/spacy/__init__.py index 12a329c06..b8cf63b1c 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -1,5 +1,9 @@ # coding: utf8 from __future__ import unicode_literals +import warnings +warnings.filterwarnings("ignore", message="numpy.dtype size changed") +warnings.filterwarnings("ignore", message="numpy.ufunc size changed") + from .cli.info import info as cli_info from .glossary import explain from .about import __version__