diff --git a/actions/doc/index_dev.rst b/actions/doc/index_dev.rst
index 22d681be4872ec598e3ae70f449737b00faaa24a..4414cfa205115f15f60d4820d7d1bf3d459d10ee 100644
--- a/actions/doc/index_dev.rst
+++ b/actions/doc/index_dev.rst
@@ -132,7 +132,6 @@ first, :file:`test_actions.py` has to be loaded as a module:
 .. testcode:: actiontest
   :hide:
 
-  sys.path.insert(0, __actiontest_path__)
   import test_actions
 
 .. code-block:: python
diff --git a/doc/conf.py.in b/doc/conf.py.in
index fc469c85c7a2f71e127b752827d1b45a7ef3cb63..6763c6cedfec2d54c7a22527511815762de560c1 100644
--- a/doc/conf.py.in
+++ b/doc/conf.py.in
@@ -295,9 +295,6 @@ sys.path.insert(1, '@OST_PYMOD_PATH@')
 
 import ost
 
-# this one is needed for actiontest doctests
-__actiontest_path__ = '@PROJECT_SOURCE_DIR@/actions/tests/'
-
 # We define a LogSink here, pushing everything to stdout so doctest recognises
 # it.
 class DocTestLogger(ost.LogSink):