Skip to content

Commit

Permalink
Resolve new ruff error.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwgk committed Dec 20, 2024
1 parent 4629fbc commit 58042d4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_class_sh_disowning.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ def test_mixed():
assert is_disowned_results.count(True) == 1
if first_pass:
first_pass = False
print(
"\nC++ function argument %d is evaluated first."
% (is_disowned_results.index(True) + 1)
)
ix = is_disowned_results.index(True) + 1
print(f"\nC++ function argument {ix} is evaluated first.")

return # Comment out for manual leak checking (use `top` command).

Expand Down

0 comments on commit 58042d4

Please sign in to comment.