summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testing/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index a83f5988b..839eb969f 100755
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -166,10 +166,7 @@ default_ruby_protocol = {
}
def get_default_protocol(arch):
- try:
- return default_ruby_protocol[arch]
- except KeyError:
- return 'MI-example'
+ return default_ruby_protocol.get(arch, 'MI_example')
all_categories = ("quick", "long")
all_modes = ("fs", "se")