diff options
-rw-r--r-- | testing/pytest.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/pytest.tex b/testing/pytest.tex index b0d5df2..c04d77d 100644 --- a/testing/pytest.tex +++ b/testing/pytest.tex @@ -632,9 +632,9 @@ script: \begin{frame}[fragile] \frametitle{Using coverage} \begin{lstlisting} - $ coverage run -m pytest my_package - $ coverage report - $ coverage html +$ coverage run -m pytest my_package +$ coverage report +$ coverage html \end{lstlisting}%$ \end{frame} @@ -652,10 +652,10 @@ $ coverage html \frametitle{Using a \texttt{.coveragerc}} Create a \typ{.coveragerc} \begin{lstlisting} - [run] - source = . - branch = True - omit = */tests/* +[run] +source = . +branch = True +omit = */tests/* \end{lstlisting} \end{frame} |