Skip to content

Commit

Permalink
use == over is for literal string condition
Browse files Browse the repository at this point in the history
  • Loading branch information
nflx committed Sep 19, 2022
1 parent a005d7a commit 0e480ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/commands/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0e480ea

Please sign in to comment.