Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
c3fcfb31
Commit
c3fcfb31
authored
Aug 21, 2019
by
Stephan Seitz
Browse files
Always skipping pystencils.autodiff in pytest (not only on 'CI')
parent
964e82ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
conftest.py
View file @
c3fcfb31
...
...
@@ -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
:
...
...
pystencils/autodiff.py
View file @
c3fcfb31
...
...
@@ -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`'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment