From 0e480eaf762591b7cb26b781b412d3c77db94d7f Mon Sep 17 00:00:00 2001 From: nflx Date: Mon, 19 Sep 2022 15:00:08 +0200 Subject: [PATCH] use `==` over `is` for literal string condition --- cli/src/commands/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/commands/run_tests.py b/cli/src/commands/run_tests.py index 576e687..3e23873 100644 --- a/cli/src/commands/run_tests.py +++ b/cli/src/commands/run_tests.py @@ -19,7 +19,7 @@ def docker_parse(args): return False if isinstance(args[1], bool): return args[1] - if args[1] is "no_browser": + if args[1] == "no_browser": return "no_browser" return isinstance(args[1], str) and args[1].lower() == "true"