Skip to content
Snippets Groups Projects
Commit c3fcfb31 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

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

parent 964e82ff
Branches
Tags
1 merge request!40Contest: ignore two more files if waLBerla is not available
......@@ -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`')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment