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-13 06:08:46.880
2026-02-13 06:08:46.887 act = <firebird.qa.plugin.Action object at [hex]>
2026-02-13 06:08:46.894
2026-02-13 06:08:46.902 @pytest.mark.version('>=3.0')
2026-02-13 06:08:46.909 def test_1(act: Action):
2026-02-13 06:08:46.916 act.expected_stdout = expected_stdout_5x if act.is_version('<6') else expected_stdout_6x
2026-02-13 06:08:46.925 act.execute(combine_output = True)
2026-02-13 06:08:46.935 >       assert act.clean_stdout == act.clean_expected_stdout
2026-02-13 06:08:46.944 E       AssertionError: assert
2026-02-13 06:08:46.951 E           Statement failed, SQLSTATE = 2F000
2026-02-13 06:08:46.957 E         - Error while parsing function FN_TEST's BLR
2026-02-13 06:08:46.965 E         - -invalid request BLR at offset
2026-02-13 06:08:46.980 E         + invalid request BLR at offset
2026-02-13 06:08:46.993 E           -exception EX_SOME_NON_EXISTENT_NAME not defined
2026-02-13 06:08:47.002 E         + -Error while parsing function FN_TEST's BLR
2026-02-13 06:08:47.009
2026-02-13 06:08:47.016 tests/bugs/core_4371_test.py:60: AssertionError
2026-02-13 06:08:47.022 ---------------------------- Captured stdout setup -----------------------------
2026-02-13 06:08:47.028 Creating db: localhost:/var/tmp/qa_2024/test_1832/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]