Skip to content

Commit 7b436c8

Browse files
Fix linter warning in performance test
Co-authored-by: dmccoystephenson <21204351+dmccoystephenson@users.noreply.github.com>
1 parent 0cf4151 commit 7b436c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_friends_list_performance(self):
9191
start_time = time.time()
9292
for _ in range(1000):
9393
# Check if entity2 is a friend (not in the list)
94-
entity2 in entity1.friends
94+
is_friend = entity2 in entity1.friends # Store result to avoid linter warning
9595

9696
elapsed = time.time() - start_time
9797

0 commit comments

Comments
 (0)