laywerrobot/lib/python3.6/site-packages/nltk/test/gensim_fixt.py

11 lines
233 B
Python
Raw Normal View History

2020-08-27 21:55:39 +02:00
# -*- coding: utf-8 -*-
from __future__ import absolute_import
def setup_module(module):
from nose import SkipTest
try:
import gensim
except ImportError:
raise SkipTest("Gensim doctest requires gensim")