mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
Removing capsys.disable() in test_class_sh_disowning.py.
It was only useful for easily harvest this from the GitHub Actions CI results, mostly out of curiosity: 52 C++ function argument 1 is evaluated first. 90 C++ function argument 2 is evaluated first. These results came for the final CI run for PR #2936; that PR has nothing else to do with the results. Pushing directly. This tiny change is not worth a PR. [skip actions]
This commit is contained in:
parent
71603042d2
commit
7eb6d6f695
@ -20,7 +20,7 @@ def test_same_twice():
|
||||
return # Comment out for manual leak checking (use `top` command).
|
||||
|
||||
|
||||
def test_mixed(capsys):
|
||||
def test_mixed():
|
||||
first_pass = True
|
||||
while True:
|
||||
obj1a = m.Atype1(90)
|
||||
@ -54,7 +54,6 @@ def test_mixed(capsys):
|
||||
assert was_disowned_results.count(True) == 1
|
||||
if first_pass:
|
||||
first_pass = False
|
||||
with capsys.disabled():
|
||||
print(
|
||||
"\nC++ function argument %d is evaluated first."
|
||||
% (was_disowned_results.index(True) + 1)
|
||||
|
Loading…
Reference in New Issue
Block a user