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

LOG DETAILS:

2026-04-08 09:40:10.992
2026-04-08 09:40:11.000 act_db_main = <firebird.qa.plugin.Action object at [hex]>
2026-04-08 09:40:11.007 act_db_repl = <firebird.qa.plugin.Action object at [hex]>
2026-04-08 09:40:11.014 tmp_oltp_build_sql = PosixPath('/var/tmp/qa_2024/test_12278/tmp_oltp_emul_ddl.sql')
2026-04-08 09:40:11.020 tmp_oltp_build_log = PosixPath('/var/tmp/qa_2024/test_12278/tmp_oltp_emul_ddl.log')
2026-04-08 09:40:11.027 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-04-08 09:40:11.033
2026-04-08 09:40:11.039 @pytest.mark.replication
2026-04-08 09:40:11.047 @pytest.mark.version('>=4.0.1')
2026-04-08 09:40:11.054 def test_1(act_db_main: Action,  act_db_repl: Action, tmp_oltp_build_sql: Path, tmp_oltp_build_log: Path, capsys):
2026-04-08 09:40:11.060
2026-04-08 09:40:11.067 if act_db_main.is_version('>=6.0'):
2026-04-08 09:40:11.074 pytest.skip('Since #8473 empty columns not allowed'

[...SKIPPED...]

main, act_db_repl, capsys)
2026-04-08 09:40:12.204
2026-04-08 09:40:12.213 # Must be EMPTY:
2026-04-08 09:40:12.221 out_drop = capsys.readouterr().out
2026-04-08 09:40:12.229
2026-04-08 09:40:12.240 if [ x for x in (out_prep, out_init, out_main, out_drop) if x.strip() ]:
2026-04-08 09:40:12.249 # We have a problem either with DDL/DML or with dropping DB objects.
2026-04-08 09:40:12.257 # First, we have to RECREATE both master and slave databases
2026-04-08 09:40:12.264 # (otherwise further execution of this test or other replication-related tests most likely will fail):
2026-04-08 09:40:12.272 >           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-08 09:40:12.280 E           TypeError: reset_replication() got an unexpected keyword argument 'cleanup_repl_dirs'
2026-04-08 09:40:12.287
2026-04-08 09:40:12.294 tests/functional/replication/test_oltp_emul_ddl.py:605: TypeError