diff options
author | Matt Clay <matt@mystile.com> | 2023-03-08 11:06:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 11:06:54 -0800 |
commit | 31658031ed40f3db002b690b436b793634c2b5e7 (patch) | |
tree | 58cde7e0e1982f3f68fa059cf3eab54722707b13 /test/lib | |
parent | cfa7acbc19548b3953fc0bfdb78ee9f0e9c7ea05 (diff) | |
download | ansible-31658031ed40f3db002b690b436b793634c2b5e7.tar.gz |
ansible-test - Remove pointless comparison (#80168)
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/ansible_test/_internal/test.py | 2 |
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 |