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 15:50:41.728
2026-02-17 15:50:41.733 act = <firebird.qa.plugin.Action object at [hex]>
2026-02-17 15:50:41.738
2026-02-17 15:50:41.742 @pytest.mark.version('>=3.0')
2026-02-17 15:50:41.747 def test_1(act: Action):
2026-02-17 15:50:41.752 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 15:50:41.756 act.execute(combine_output = True)
2026-02-17 15:50:41.761 >       assert act.clean_stdout == act.clean_expected_stdout
2026-02-17 15:50:41.766 E       AssertionError: assert
2026-02-17 15:50:41.770 E           Statement failed, SQLSTATE = 2F000
2026-02-17 15:50:41.775 E         + Error while parsing function FN_TEST's BLR
2026-02-17 15:50:41.780 E         - invalid request BLR at offset
2026-02-17 15:50:41.784 E         + -invalid request BLR at offset
2026-02-17 15:50:41.793 E           -exception EX_SOME_NON_EXISTENT_NAME not defined
2026-02-17 15:50:41.798 E         - -Error while parsing function FN_TEST's BLR
2026-02-17 15:50:41.802
2026-02-17 15:50:41.807 tests/bugs/core_4371_test.py:69: AssertionError
2026-02-17 15:50:41.812 ---------------------------- Captured stdout setup -----------------------------
2026-02-17 15:50:41.817 Creating db: localhost:/var/tmp/qa_2024/test_1832/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]