Index: recipe_engine/third_party/expect_tests/main.py |
diff --git a/recipe_engine/third_party/expect_tests/main.py b/recipe_engine/third_party/expect_tests/main.py |
index 83800de232ab3d598c2facbb1e24af6ee2dd3a5a..fa211b37051320f31710dc3ec29c73692d7d60a5 100644 |
--- a/recipe_engine/third_party/expect_tests/main.py |
+++ b/recipe_engine/third_party/expect_tests/main.py |
@@ -51,7 +51,8 @@ class _test_completer(object): |
def _parse_args(args, test_gen): |
- args = args or sys.argv[1:] |
+ if args is None: |
+ args = sys.argv[1:] |
# Set the default mode if not specified and not passing --help |
search_names = set(HANDLERS.keys() + ['-h', '--help']) |