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

LOG DETAILS:

2025-12-17 07:47:32.150
2025-12-17 07:47:32.157 act_db_main = <firebird.qa.plugin.Action object at [hex]>
2025-12-17 07:47:32.164 act_db_repl = <firebird.qa.plugin.Action object at [hex]>
2025-12-17 07:47:32.180 tmp_oltp_build_sql = PosixPath('/var/tmp/qa_2024/test_12260/tmp_oltp_emul_ddl.sql')
2025-12-17 07:47:32.190 tmp_oltp_build_log = PosixPath('/var/tmp/qa_2024/test_12260/tmp_oltp_emul_ddl.log')
2025-12-17 07:47:32.200 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-12-17 07:47:32.213
2025-12-17 07:47:32.223 @pytest.mark.replication
2025-12-17 07:47:32.231 @pytest.mark.version('>=4.0.1')
2025-12-17 07:47:32.242 def test_1(act_db_main: Action,  act_db_repl: Action, tmp_oltp_build_sql: Path, tmp_oltp_build_log: Path, capsys):
2025-12-17 07:47:32.251
2025-12-17 07:47:32.260 if act_db_main.is_version('>=6.0'):
2025-12-17 07:47:32.272 pytest.skip('Since #8473 empty columns not allowed'

[...SKIPPED...]

main, act_db_repl, capsys)
2025-12-17 07:47:33.486
2025-12-17 07:47:33.495 # Must be EMPTY:
2025-12-17 07:47:33.502 out_drop = capsys.readouterr().out
2025-12-17 07:47:33.509
2025-12-17 07:47:33.516 if [ x for x in (out_prep, out_init, out_main, out_drop) if x.strip() ]:
2025-12-17 07:47:33.524 # We have a problem either with DDL/DML or with dropping DB objects.
2025-12-17 07:47:33.532 # First, we have to RECREATE both master and slave databases
2025-12-17 07:47:33.542 # (otherwise further execution of this test or other replication-related tests most likely will fail):
2025-12-17 07:47:33.554 >           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)
2025-12-17 07:47:33.562 E           TypeError: reset_replication() got an unexpected keyword argument 'cleanup_repl_dirs'
2025-12-17 07:47:33.569
2025-12-17 07:47:33.576 tests/functional/replication/test_oltp_emul_ddl.py:605: TypeError