Skip to content

Commit 4dab7f6

Browse files
committed
correct tests
1 parent 443b633 commit 4dab7f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_raises(doctree):
155155
'''
156156
tree = doctree(source)
157157
cell, = tree.traverse(JupyterCellNode)
158-
'ValueError' in cell.children[1].rawsource
158+
assert 'ValueError' in cell.children[1].rawsource
159159

160160
source = '''
161161
.. jupyter-execute::
@@ -165,7 +165,7 @@ def test_raises(doctree):
165165
'''
166166
tree = doctree(source)
167167
cell, = tree.traverse(JupyterCellNode)
168-
'ValueError' in cell.children[1].rawsource
168+
assert 'ValueError' in cell.children[1].rawsource
169169

170170

171171
def test_widgets(doctree):

0 commit comments

Comments
 (0)