Commit d145a852 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

remove pytest warning errors

In the previous commit I naively configured pytest to
treat any warning as an error, excep for numpy
pendingdeprecationwarning errors,
This causes the build in py2.7 to fail, due to some
warnings from nltk.
parent c0905015
......@@ -17,7 +17,7 @@ import subprocess
import importlib
import yaml
import threading
import nltk
from nltk import download
from .. import models, utils
from .. import api
......@@ -195,7 +195,7 @@ class Plugin(with_metaclass(PluginMeta, models.Plugin)):
request = models.Response()
parameters = api.parse_params(given_parameters,
request.entries = [
......@@ -574,7 +574,7 @@ def install_deps(*plugins):
"Dependencies not properly installed: {}".format(pip_args))
nltk_resources |= set(info.get('nltk_resources', []))
installed |=
installed |= download(list(nltk_resources))
return installed
......@@ -13,7 +13,6 @@ universal=1
addopts = --cov=senpy --cov-report term-missing
filterwarnings =
ignore:the matrix subclass:PendingDeprecationWarning
omit = senpy/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment