From df802f3bfcf256d1aa0909eeb9e51bdb9a2f9fae Mon Sep 17 00:00:00 2001 From: pavel-zotov Date: Sat, 26 Oct 2024 11:21:35 +0300 Subject: [PATCH] Added/Updated tests\bugs\gh_8290_test.py: added ps.free() call otherwise pytest hangs at final point and does not return control to caller batch --- tests/bugs/gh_8290_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/bugs/gh_8290_test.py b/tests/bugs/gh_8290_test.py index 517622dc..d0efda58 100644 --- a/tests/bugs/gh_8290_test.py +++ b/tests/bugs/gh_8290_test.py @@ -65,6 +65,10 @@ def test_1(act: Action, capsys): print( '\n'.join([replace_leading(s) for s in ps.detailed_plan.split('\n')]) ) print('') + # 26.10.2024. ::: ACHTUNG ::: + # MANDATORY OTHERWISE PYTEST WILL HANG AT FINAL POINT: + ps.free() + expected_out = f""" {qry_map[0]}