AssertionError: assert   
    Statement failed, SQLSTATE = 2F000
  + Error while parsing function FN_TEST's BLR
  - invalid request BLR at offset
  + -invalid request BLR at offset
    -exception EX_SOME_NON_EXISTENT_NAME not defined
  - -Error while parsing function FN_TEST's BLR

LOG DETAILS:

2026-02-17 14:19:34.482
2026-02-17 14:19:34.488 act = <firebird.qa.plugin.Action object at [hex]>
2026-02-17 14:19:34.493
2026-02-17 14:19:34.498 @pytest.mark.version('>=3.0')
2026-02-17 14:19:34.503 def test_1(act: Action):
2026-02-17 14:19:34.508 act.expected_stdout = expected_stdout_4x if act.is_version('<5') else expected_stdout_5x if act.is_version('<6') else expected_stdout_6x
2026-02-17 14:19:34.513 act.execute(combine_output = True)
2026-02-17 14:19:34.518 >       assert act.clean_stdout == act.clean_expected_stdout
2026-02-17 14:19:34.523 E       AssertionError: assert
2026-02-17 14:19:34.528 E           Statement failed, SQLSTATE = 2F000
2026-02-17 14:19:34.533 E         + Error while parsing function FN_TEST's BLR
2026-02-17 14:19:34.538 E         - invalid request BLR at offset
2026-02-17 14:19:34.543 E         + -invalid request BLR at offset
2026-02-17 14:19:34.552 E           -exception EX_SOME_NON_EXISTENT_NAME not defined
2026-02-17 14:19:34.557 E         - -Error while parsing function FN_TEST's BLR
2026-02-17 14:19:34.562
2026-02-17 14:19:34.567 tests/bugs/core_4371_test.py:69: AssertionError
2026-02-17 14:19:34.572 ---------------------------- Captured stdout setup -----------------------------
2026-02-17 14:19:34.576 Creating db: localhost:/var/tmp/qa_2024/test_1832/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]