Skip to content

Commit

Permalink
Fix test_errors_print_traceback test (#1985)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Apr 25, 2023
1 parent 5ae525f commit d519784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nbconvert/tests/test_nbconvertapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ def test_errors_print_traceback(self):
)
assert 'print("Some text before the error")' in error_output
assert 'raise RuntimeError("This is a deliberate exception")' in error_output
assert "RuntimeError: This is a deliberate exception" in error_output
assert "RuntimeError" in error_output
assert "This is a deliberate exception" in error_output

def test_fenced_code_blocks_markdown(self):
"""
Expand Down

0 comments on commit d519784

Please sign in to comment.