mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 07:10:30 +00:00
Resolve new ruff error.
This commit is contained in:
parent
4629fbc4d5
commit
58042d4270
@ -60,10 +60,8 @@ def test_mixed():
|
|||||||
assert is_disowned_results.count(True) == 1
|
assert is_disowned_results.count(True) == 1
|
||||||
if first_pass:
|
if first_pass:
|
||||||
first_pass = False
|
first_pass = False
|
||||||
print(
|
ix = is_disowned_results.index(True) + 1
|
||||||
"\nC++ function argument %d is evaluated first."
|
print(f"\nC++ function argument {ix} is evaluated first.")
|
||||||
% (is_disowned_results.index(True) + 1)
|
|
||||||
)
|
|
||||||
|
|
||||||
return # Comment out for manual leak checking (use `top` command).
|
return # Comment out for manual leak checking (use `top` command).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user