From 81467c2e7e59c7692fa1d6acfa9dac71112ff7d4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Nov 2021 07:36:52 +0530 Subject: [PATCH] ... --- kitty_tests/check_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty_tests/check_build.py b/kitty_tests/check_build.py index 1e338c244..211f89e86 100644 --- a/kitty_tests/check_build.py +++ b/kitty_tests/check_build.py @@ -39,8 +39,8 @@ class TestBuild(BaseTest): modules = ['cocoa'] if is_macos else linux_backends for name in modules: path = glfw_path(name) - self.assertTrue(os.path.isfile(path)) - self.assertTrue(os.access(path, os.X_OK)) + self.assertTrue(os.path.isfile(path), f'{path} is not a file') + self.assertTrue(os.access(path, os.X_OK), f'{path} is not executable') def test_all_kitten_names(self) -> None: from kittens.runner import all_kitten_names