TypeError: reset_replication() got an unexpected keyword argument 'cleanup_repl_dirs'

LOG DETAILS:

2026-08-26 12:12:00.173
2026-08-26 12:12:00.181 act_db_main = <firebird.qa.plugin.Action object at [hex]>
2026-08-26 12:12:00.189 act_db_repl = <firebird.qa.plugin.Action object at [hex]>
2026-08-26 12:12:00.197 tmp_oltp_build_sql = PosixPath('/var/tmp/qa_2024/test_12123/tmp_oltp_emul_ddl.sql')
2026-08-26 12:12:00.205 tmp_oltp_build_log = PosixPath('/var/tmp/qa_2024/test_12123/tmp_oltp_emul_ddl.log')
2026-08-26 12:12:00.214 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-08-26 12:12:00.222
2026-08-26 12:12:00.230 @pytest.mark.replication
2026-08-26 12:12:00.238 @pytest.mark.version('>=4.0.1')
2026-08-26 12:12:00.246 def test_1(act_db_main: Action,  act_db_repl: Action, tmp_oltp_build_sql: Path, tmp_oltp_build_log: Path, capsys):
2026-08-26 12:12:00.254
2026-08-26 12:12:00.262 if act_db_main.is_version('>=6.0'):
2026-08-26 12:12:00.270 pytest.skip('Since #8473 empty columns not allowed'

[...SKIPPED...]

main, act_db_repl, capsys)
2026-08-26 12:12:01.568
2026-08-26 12:12:01.576 # Must be EMPTY:
2026-08-26 12:12:01.585 out_drop = capsys.readouterr().out
2026-08-26 12:12:01.596
2026-08-26 12:12:01.605 if [ x for x in (out_prep, out_init, out_main, out_drop) if x.strip() ]:
2026-08-26 12:12:01.613 # We have a problem either with DDL/DML or with dropping DB objects.
2026-08-26 12:12:01.621 # First, we have to RECREATE both master and slave databases
2026-08-26 12:12:01.630 # (otherwise further execution of this test or other replication-related tests most likely will fail):
2026-08-26 12:12:01.639 >           out_reset = reset_replication(act_db_main, act_db_repl, db_info[act_db_main,'db_full_path'], db_info[act_db_repl,'db_full_path'], cleanup_repl_dirs = not DEBUG_MODE)
2026-08-26 12:12:01.646 E           TypeError: reset_replication() got an unexpected keyword argument 'cleanup_repl_dirs'
2026-08-26 12:12:01.653
2026-08-26 12:12:01.662 tests/functional/replication/test_oltp_emul_ddl.py:605: TypeError