Commit c3fcfb31 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Always skipping pystencils.autodiff in pytest (not only on 'CI')

parent 964e82ff
......@@ -33,6 +33,8 @@ add_path_to_ignore('pystencils_tests/benchmark')
add_path_to_ignore('_local_tmp')
collect_ignore += [os.path.join(SCRIPT_FOLDER, "pystencils/autodiff.py")]
try:
import pycuda
except ImportError:
......
......@@ -8,7 +8,5 @@ Installation:
.. code-block:: bash
pip install pystencils-autodiff
"""
import os
if 'CI' not in os.environ:
raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pystencils-autodiff`')
raise NotImplementedError('pystencils-autodiff is not installed. Run `pip install pystencils-autodiff`')
Markdown is supported
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