Skip to content

Commit 7eb6d6f

Browse files
committed
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]
1 parent 7160304 commit 7eb6d6f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/test_class_sh_disowning.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_same_twice():
2020
return # Comment out for manual leak checking (use `top` command).
2121

2222

23-
def test_mixed(capsys):
23+
def test_mixed():
2424
first_pass = True
2525
while True:
2626
obj1a = m.Atype1(90)
@@ -54,11 +54,10 @@ def was_disowned(obj):
5454
assert was_disowned_results.count(True) == 1
5555
if first_pass:
5656
first_pass = False
57-
with capsys.disabled():
58-
print(
59-
"\nC++ function argument %d is evaluated first."
60-
% (was_disowned_results.index(True) + 1)
61-
)
57+
print(
58+
"\nC++ function argument %d is evaluated first."
59+
% (was_disowned_results.index(True) + 1)
60+
)
6261

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

0 commit comments

Comments
 (0)