summaryrefslogtreecommitdiffhomepage
path: root/test/unit/check/regex.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/check/regex.py')
-rw-r--r--test/unit/check/regex.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/check/regex.py b/test/unit/check/regex.py
index 51cf966b..83e93f2d 100644
--- a/test/unit/check/regex.py
+++ b/test/unit/check/regex.py
@@ -2,7 +2,4 @@ import re
def check_regex(output_version):
- if re.search('--no-regex', output_version):
- return False
-
- return True
+ return not re.search('--no-regex', output_version)