<s> from cassandra . cython_deps import HAVE_CYTHON , HAVE_NUMPY <EOL> from tests . integration import VERIFY_CYTHON <EOL> try : <EOL> import unittest2 as unittest <EOL> except ImportError : <EOL> import unittest <EOL> def cyimport ( import_path ) : <EOL> """<STR_LIT>""" <EOL> if HAVE_CYTHON : <EOL> import pyximport <EOL> py_importer , pyx_importer = pyximport . install ( ) <EOL> mod = __import__ ( import_path , fromlist = [ True ] ) <EOL> pyximport . uninstall ( py_importer , pyx_importer ) <EOL> return mod <EOL> cythontest = unittest . skipUnless ( ( HAVE_CYTHON or VERIFY_CYTHON ) or VERIFY_CYTHON , '<STR_LIT>' ) <EOL> notcython = unittest . skipIf ( HAVE_CYTHON , '<STR_LIT>' ) <EOL> numpytest = unittest . skipUnless ( ( HAVE_CYTHON and HAVE_NUMPY ) or VERIFY_CYTHON , '<STR_LIT>' ) </s>
