\begin{Verbatim}[commandchars=\\\{\}]
\PYG{k}{if} \PYG{n+nv+vm}{\PYGZus{}\PYGZus{}name\PYGZus{}\PYGZus{}} \PYG{o}{==} \PYG{l+s+s2}{\PYGZdq{}\PYGZus{}\PYGZus{}main\PYGZus{}\PYGZus{}\PYGZdq{}}\PYG{p}{:}
    \PYG{n}{unittest\PYGZus{}suite} \PYG{o}{=} \PYG{n}{unittest}\PYG{o}{.}\PYG{n}{TestLoader}\PYG{p}{()}\PYG{o}{.}\PYG{n}{loadTestsFromName}\PYG{p}{(}\PYG{l+s+s2}{\PYGZdq{}test\PYGZus{}Biospam\PYGZdq{}}\PYG{p}{)}
    \PYG{n}{doctest\PYGZus{}suite} \PYG{o}{=} \PYG{n}{doctest}\PYG{o}{.}\PYG{n}{DocTestSuite}\PYG{p}{(}\PYG{n}{Biospam}\PYG{p}{)}
    \PYG{n}{suite} \PYG{o}{=} \PYG{n}{unittest}\PYG{o}{.}\PYG{n}{TestSuite}\PYG{p}{((}\PYG{n}{unittest\PYGZus{}suite}\PYG{p}{,} \PYG{n}{doctest\PYGZus{}suite}\PYG{p}{))}
    \PYG{n}{runner} \PYG{o}{=} \PYG{n}{unittest}\PYG{o}{.}\PYG{n}{TextTestRunner}\PYG{p}{(}\PYG{n}{sys}\PYG{o}{.}\PYG{n}{stdout}\PYG{p}{,} \PYG{n}{verbosity}\PYG{o}{=}\PYG{l+m+mi}{2}\PYG{p}{)}
    \PYG{n}{runner}\PYG{o}{.}\PYG{n}{run}\PYG{p}{(}\PYG{n}{suite}\PYG{p}{)}
\end{Verbatim}
