def test_max_instances_reached(self, scheduler, job, jobstore, executor, caplog):
        caplog.set_level(logging.WARNING)
        executor.submit_job = MagicMock(side_effect=MaxInstancesReachedError(job))

        assert scheduler._process_jobs() is None
        assert len(caplog.records) == 1
        assert caplog.records[0].message == \
            'Execution of job "job 999" skipped: maximum number of running instances reached (1)'
Args:
dataset/ETHPy150Open agronholm/apscheduler/tests/test_schedulers.py/TestProcessJobs.test_max_instances_reached--crossover with--dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/InputDialog.__init__