From 67ded3c267a8a35eb5a49b5fb95155e94e943ca8 Mon Sep 17 00:00:00 2001 From: Marc Wouts Date: Sun, 1 Sep 2019 12:38:17 +0200 Subject: [PATCH] Fix test on pypy #303 --- tests/test_execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_execute.py b/tests/test_execute.py index f1424def5..3c972af44 100644 --- a/tests/test_execute.py +++ b/tests/test_execute.py @@ -84,7 +84,7 @@ def test_execute_readme_not_ok(tmpdir): """) import nbconvert - with pytest.raises(nbconvert.preprocessors.execute.CellExecutionError, match="NameError: name 'a' is not defined"): + with pytest.raises(nbconvert.preprocessors.execute.CellExecutionError, match="is not defined"): jupytext(args=[tmp_md, '--execute'])