diff --git a/tools/lib/provision.py b/tools/lib/provision.py index d8e72766a2..2a911be3ed 100755 --- a/tools/lib/provision.py +++ b/tools/lib/provision.py @@ -64,7 +64,7 @@ try: os.remove(os.path.join(VAR_DIR_PATH, "zulip-test-symlink")) except OSError: print( - FAIL + "Error: Unable to create symlinks." + FAIL + "Error: Unable to create symlinks. " "Make sure you have permission to create symbolic links." + ENDC ) print("See this page for more information:") diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py index 3d9d3d4af1..68311273f0 100644 --- a/tools/linter_lib/custom_check.py +++ b/tools/linter_lib/custom_check.py @@ -674,7 +674,7 @@ html_rules: List["Rule"] = [ }, { "pattern": r"\bon\w+ ?=", - "description": "Don't use inline event handlers (onclick=, etc. attributes) in HTML. Instead," + "description": "Don't use inline event handlers (onclick=, etc. attributes) in HTML. Instead, " "attach a jQuery event handler ($('#foo').on('click', function () {...})) when " "the DOM is ready (inside a $(function () {...}) block).", "exclude": { diff --git a/zerver/tests/test_new_users.py b/zerver/tests/test_new_users.py index 58909805b1..a601d192a2 100644 --- a/zerver/tests/test_new_users.py +++ b/zerver/tests/test_new_users.py @@ -225,7 +225,7 @@ class TestBrowserAndOsUserAgentStrings(ZulipTestCase): "Windows", ), ( - "Mozilla/5.0 (X11; CrOS x86_64 10895.56.0) AppleWebKit/537.36" + "Mozilla/5.0 (X11; CrOS x86_64 10895.56.0) AppleWebKit/537.36 " "(KHTML, like Gecko) Chrome/69.0.3497.95 Safari/537.36", "Chrome", "ChromeOS",