From 4b91f6355795d7bd23ff46882fd7181a3a11a419 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sun, 21 Jul 2019 00:16:43 -0400 Subject: Changed warning text --- tests/test_run_pyscript.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_run_pyscript.py') diff --git a/tests/test_run_pyscript.py b/tests/test_run_pyscript.py index 374b2233..ded95225 100644 --- a/tests/test_run_pyscript.py +++ b/tests/test_run_pyscript.py @@ -50,7 +50,7 @@ def test_run_pyscript_with_non_python_file(base_app, request): test_dir = os.path.dirname(request.module.__file__) filename = os.path.join(test_dir, 'scripts', 'help.txt') out, err = run_cmd(base_app, 'run_pyscript {}'.format(filename)) - assert "does not appear to be a Python file" in err[0] + assert "does not have a .py extension" in err[0] def test_run_pyscript_with_exception(base_app, request): test_dir = os.path.dirname(request.module.__file__) -- cgit v1.2.1