From 41ca540b433aa82510941b9776d81efb41cc4ae2 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Thu, 29 Aug 2019 12:58:08 -0500 Subject: [PATCH] Adapt Latex mapper test to Py2 --- test/test_pymbolic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_pymbolic.py b/test/test_pymbolic.py index 89b23ef..8ed651b 100644 --- a/test/test_pymbolic.py +++ b/test/test_pymbolic.py @@ -597,7 +597,7 @@ def test_latex_mapper(): "-output-directory=%s" % latex_dir, tex_file_path], universal_newlines=True) - except FileNotFoundError: + except OSError: # FIXME: Should be FileNotFoundError on Py3 pytest.skip("latex command not found") except subprocess.CalledProcessError as err: assert False, str(err.output) -- GitLab