<p dir="auto">When following the tutorial first test was failing because it does not find init_db()<br>
Searching I found <a href="http://stackoverflow.com/questions/41612996/running-unit-tests-on-the-flaskr-tutorial-micro-blogging-app-in-flask" rel="nofollow">this question</a> that fixed it, so the rest should be modified<br>
from<br>
<code class="notranslate">import flaskr</code><br>
to<br>
<code class="notranslate">from flaskr import flaskr</code><br>
I can not push a branch with the change (I suppose I have no permission)</p>
<p dir="auto">commit rev: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/pallets/flask/commit/470112dd6e708a18eb4ec1daa10c4ea276620dbf/hovercard" href="https://github.com/pallets/flask/commit/470112dd6e708a18eb4ec1daa10c4ea276620dbf"><tt>470112d</tt></a><br>
python: 3.6.2</p>
<p dir="auto">in the <code class="notranslate">docs</code> directory, just execute <code class="notranslate">make latexpdf</code>, there are issues with <code class="notranslate">\maketitle</code> and an unicode char.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
! Undefined control sequence.
\maketitle ...tnoterule \relax \ifsphinxpdfoutput 
                                                  \begingroup \def \\{, } \p...
l.66 \maketitle
               
? "><pre class="notranslate"><code class="notranslate">(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
! Undefined control sequence.
\maketitle ...tnoterule \relax \ifsphinxpdfoutput 
                                                  \begingroup \def \\{, } \p...
l.66 \maketitle
               
? 
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="! Package inputenc Error: Unicode char 🎉 (U+1F389)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H &lt;return&gt;  for immediate help.
 ...                                              
                                                  
l.20767 Celebrate 🎉
                      
? "><pre class="notranslate"><code class="notranslate">! Package inputenc Error: Unicode char 🎉 (U+1F389)
(inputenc)                not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H &lt;return&gt;  for immediate help.
 ...                                              
                                                  
l.20767 Celebrate 🎉
                      
? 
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'Flask.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.
make[1]: *** [Makefile:33: Flask.pdf] Error 12
make[1] : on quitte le répertoire « /home/stephane/src/github.com/pallets/flask/docs/_build/latex »
make: *** [Makefile:101: latexpdf] Error 2"><pre class="notranslate"><code class="notranslate">Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'Flask.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.
make[1]: *** [Makefile:33: Flask.pdf] Error 12
make[1] : on quitte le répertoire « /home/stephane/src/github.com/pallets/flask/docs/_build/latex »
make: *** [Makefile:101: latexpdf] Error 2
</code></pre></div>