Permalink
Browse files

Fix failing doctest (dict order is platform dependent)

This was failing on Python 3.3 and Jython (possibly more).
  • Loading branch information...
1 parent ee9fc12 commit 718f3c5999b5701cd921c20fe16839d7a2941301 @peterjc peterjc committed Dec 18, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Doc/Tutorial.tex
View
@@ -10808,6 +10808,10 @@ \section{Motif objects}
4
>>> m.counts['T',3]
1
+\end{verbatim}
+Column-like access works like this:
+%Don't doctest this as dictionary order is platform dependent:
+\begin{verbatim}
>>> m.counts[:,3]
{'A': 3, 'C': 0, 'T': 1, 'G': 0}
\end{verbatim}

0 comments on commit 718f3c5

Please sign in to comment.