Skip to content
Snippets Groups Projects

Skip llvm tests if llvmlite is not installed

4 files
+ 18
7
Compare changes
  • Side-by-side
  • Inline

Files

import numpy as np
import pytest
from pystencils import Assignment, Field, show_code
from pystencils.cpu.cpujit import get_llc_command
from pystencils.llvm import create_kernel, make_python_function
from pystencils.llvm.llvmjit import generate_and_jit
try:
from pystencils.llvm.llvmjit import generate_and_jit
from pystencils.llvm import create_kernel, make_python_function
from pystencils.cpu.cpujit import get_llc_command
from pystencils import Assignment, Field, show_code
import numpy as np
except ModuleNotFoundError:
import pytest
pytest.importorskip("llvmlite")
def test_jacobi_fixed_field_size():
Loading