diff --git a/lbmpy_tests/full_scenarios/shear_wave/scenario_shear_wave.py b/lbmpy_tests/full_scenarios/shear_wave/scenario_shear_wave.py
index 09af0c74d3ceda570ef15093b706f60a856d9d97..77dc02e9c2509c6f961a680548b396d299531ba9 100644
--- a/lbmpy_tests/full_scenarios/shear_wave/scenario_shear_wave.py
+++ b/lbmpy_tests/full_scenarios/shear_wave/scenario_shear_wave.py
@@ -7,6 +7,8 @@
 import numpy as np
 import sympy as sp
 
+import pytest
+
 from lbmpy.creationfunctions import update_with_default_parameters
 from lbmpy.relaxationrates import (
     relaxation_rate_from_lattice_viscosity, relaxation_rate_from_magic_number)
@@ -212,6 +214,7 @@ def create_full_parameter_study():
 
 
 def test_shear_wave():
+    pytest.importorskip('pycuda')
     params = {
         'l_0': 32,
         'u_0': 0.096,
diff --git a/lbmpy_tests/test_html_output.py b/lbmpy_tests/test_html_output.py
index d1a7f8df8a89c3e94160f78eea7ee08934a11ede..66050072f9f8c94cdc7ae3f9b135fdbc96edb544 100644
--- a/lbmpy_tests/test_html_output.py
+++ b/lbmpy_tests/test_html_output.py
@@ -1,3 +1,5 @@
+import pytest
+
 from lbmpy.creationfunctions import create_lb_method
 from lbmpy.methods.creationfunctions import compare_moment_based_lb_methods
 from lbmpy.moments import (
@@ -6,6 +8,7 @@ from lbmpy.stencils import get_stencil
 
 
 def test_moment_comparison_table():
+    pytest.importorskip('ipy_table')
     new = create_lb_method(stencil='D3Q19', maxwellian_moments=True)
     old = create_lb_method(stencil='D3Q19', maxwellian_moments=False)
 
@@ -25,6 +28,7 @@ def test_moment_comparison_table():
 
 
 def test_moment_equality_table():
+    pytest.importorskip('ipy_table')
     d3q19 = get_stencil('D3Q19')
     table1 = moment_equality_table(d3q19, max_order=3)
     assert len(table1.array) == 5
diff --git a/lbmpy_tests/test_n_phase_boyer_noncoupled.ipynb b/lbmpy_tests/test_n_phase_boyer_noncoupled.ipynb
index 328fbc9e55b34079bb5b4ea75b95435a95ac5f19..888e2e29f7c6419c3dc90caf51a73ceec0c12744 100644
--- a/lbmpy_tests/test_n_phase_boyer_noncoupled.ipynb
+++ b/lbmpy_tests/test_n_phase_boyer_noncoupled.ipynb
@@ -1,5 +1,15 @@
 {
  "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "import pytest\n",
+    "pytest.importorskip('pycuda')"
+   ]
+  },
   {
    "cell_type": "code",
    "execution_count": 1,
@@ -360,7 +370,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.6.8"
+   "version": "3.6.9"
   }
  },
  "nbformat": 4,