PCQRSCANER/venv/Lib/site-packages/nltk/test/classify_fixt.py

13 lines
276 B
Python
Raw Normal View History

2019-12-22 21:51:47 +01:00
# -*- coding: utf-8 -*-
from __future__ import absolute_import
# most of classify.doctest requires numpy
def setup_module(module):
from nose import SkipTest
try:
import numpy
except ImportError:
raise SkipTest("classify.doctest requires numpy")