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:
Ralf W. Grosse-Kunstleve 2021-04-05 18:02:03 -07:00
parent 71603042d2
commit 7eb6d6f695
1 changed files with 5 additions and 6 deletions

View File

@ -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,11 +54,10 @@ 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)
)
print(
"\nC++ function argument %d is evaluated first."
% (was_disowned_results.index(True) + 1)
)
return # Comment out for manual leak checking (use `top` command).