diff --git a/modules/io/doc/io.rst b/modules/io/doc/io.rst
index c410b50621d92e01e7878ecdcab4b644605854a7..6685bffd3514f3e0ad320be0f84a98ab6f3d6af4 100644
--- a/modules/io/doc/io.rst
+++ b/modules/io/doc/io.rst
@@ -176,15 +176,22 @@ For a list of file formats supported by :func:`SaveSequence` see :doc:`formats`.
   For a list of file formats supported by :func:`SaveAlignment` see :doc:`formats`.
 
 
-.. testsetup:: *
-  import io
-  
-.. doctest::
-  CHECKME
-  
-.. testcode::
-  print 'hi'
-  
-.. testoutput::
+.. testsetup:: io
+  from ost import io
+
+.. testcode:: io
+  :hide:
+
+  from ost import io,seq
+  ent=io.LoadPDB('./examples/entity/fragment.pdb')
+  print ent.atom_count 
+  myseq=seq.SequenceFromChain('t',ent.chains[0])
+  print myseq.GetLength()
+
+.. testoutput:: io
+  :hide:
+
+  81
+  12