summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/test.py')
-rw-r--r--test/lib/ansible_test/_internal/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/test.py b/test/lib/ansible_test/_internal/test.py
index 3fb649c47a..4814ee3e25 100644
--- a/test/lib/ansible_test/_internal/test.py
+++ b/test/lib/ansible_test/_internal/test.py
@@ -47,7 +47,7 @@ def calculate_confidence(path: str, line: int, metadata: Metadata) -> int:
return 0
# changes were made to the same file and line
- if any(r[0] <= line <= r[1] in r for r in ranges):
+ if any(r[0] <= line <= r[1] for r in ranges):
return 100
# changes were made to the same file and the line number is unknown