diff --git a/pyemma/_base/serialization/serialization.py b/pyemma/_base/serialization/serialization.py
index <HASH>..<HASH> 100644
--- a/pyemma/_base/serialization/serialization.py
+++ b/pyemma/_base/serialization/serialization.py
@@ -201,9 +201,9 @@ class SerializableMixIn(object):
     ...        self.x = x
 
     >>> inst = MyClass()
-    >>> with named_temporary_file() as file:
-    ...    inst.save(file)
-    ...    inst_restored = pyemma.load(file)
+    >>> with named_temporary_file() as file: # doctest: +SKIP
+    ...    inst.save(file) # doctest: +SKIP
+    ...    inst_restored = pyemma.load(file) # doctest: +SKIP
     >>> assert inst_restored.x == inst.x # doctest: +SKIP
     # skipped because MyClass is not importable.
disable doctest, because dynamically created classes can not be pickled.