Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index 2b985fccb3b154b61654a5443a2fee3f64a7035f..a98bd40d88dd2745cfc94c4a6a554b47adecdd06 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -423,8 +423,8 @@ def ProcessOptions(options): |
VARIANTS = ["stress"] |
if options.variants: |
VARIANTS = options.variants.split(",") |
- if not set(VARIANTS).issubset(ALL_VARIANTS.keys()): |
- print "All variants must be in %s" % str(ALL_VARIANTS.keys()) |
+ if not set(VARIANTS).issubset(ALL_VARIANTS): |
+ print "All variants must be in %s" % str(ALL_VARIANTS) |
return False |
if options.predictable: |
VARIANTS = ["default"] |