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

LOG DETAILS:

2026-04-29 11:41:04.680
2026-04-29 11:41:04.687 act_db_main = <firebird.qa.plugin.Action object at [hex]>
2026-04-29 11:41:04.693 act_db_repl = <firebird.qa.plugin.Action object at [hex]>
2026-04-29 11:41:04.699 tmp_oltp_build_sql = PosixPath('/var/tmp/qa_2024/test_12282/tmp_oltp_emul_ddl.sql')
2026-04-29 11:41:04.706 tmp_oltp_build_log = PosixPath('/var/tmp/qa_2024/test_12282/tmp_oltp_emul_ddl.log')
2026-04-29 11:41:04.713 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-04-29 11:41:04.720
2026-04-29 11:41:04.728 @pytest.mark.replication
2026-04-29 11:41:04.738 @pytest.mark.version('>=4.0.1')
2026-04-29 11:41:04.744 def test_1(act_db_main: Action,  act_db_repl: Action, tmp_oltp_build_sql: Path, tmp_oltp_build_log: Path, capsys):
2026-04-29 11:41:04.750
2026-04-29 11:41:04.757 if act_db_main.is_version('>=6.0'):
2026-04-29 11:41:04.763 pytest.skip('Since #8473 empty columns not allowed'

[...SKIPPED...]

main, act_db_repl, capsys)
2026-04-29 11:41:05.909
2026-04-29 11:41:05.919 # Must be EMPTY:
2026-04-29 11:41:05.927 out_drop = capsys.readouterr().out
2026-04-29 11:41:05.934
2026-04-29 11:41:05.941 if [ x for x in (out_prep, out_init, out_main, out_drop) if x.strip() ]:
2026-04-29 11:41:05.947 # We have a problem either with DDL/DML or with dropping DB objects.
2026-04-29 11:41:05.958 # First, we have to RECREATE both master and slave databases
2026-04-29 11:41:05.966 # (otherwise further execution of this test or other replication-related tests most likely will fail):
2026-04-29 11:41:05.972 >           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-04-29 11:41:05.978 E           TypeError: reset_replication() got an unexpected keyword argument 'cleanup_repl_dirs'
2026-04-29 11:41:05.984
2026-04-29 11:41:05.991 tests/functional/replication/test_oltp_emul_ddl.py:605: TypeError