Skip to content
Permalink
Browse files

fix a unit test about notebooks

  • Loading branch information...
sdpython committed Nov 11, 2016
1 parent 3d2f99c commit 1a777b3ce803f32a050dcd0d7ea702c0029e703f
Showing with 2 additions and 2 deletions.
  1. +2 −2 _unittests/ut_helpgen/test_notebooks_bug.py
@@ -87,7 +87,7 @@ def test_notebook(self):
check = os.path.join(temp, "td1a_correction_session4.tex")
with open(check, "r", encoding="utf8") as f:
content = f.read()
if "\\subsection{" not in content:
if "\\section{" not in content:
raise Exception(content)

def test_notebook_pdf(self):
@@ -121,7 +121,7 @@ def test_notebook_pdf(self):
check = os.path.join(temp, "td1a_correction_session4.tex")
with open(check, "r", encoding="utf8") as f:
content = f.read()
if "\\subsection{" not in content:
if "\\section{" not in content:
raise Exception(content)


0 comments on commit 1a777b3

Please sign in to comment.
You can’t perform that action at this time.