def frame_checkups_with_fps(fps):
    """Same as frame_checkups(), but uses given fps."""
    ### keep constants fps
    maintain_fps(fps)

    ### increment frame number
    GENERAL_NS.frame_index += 1

    ### if there is an ongoing test, check whether
    ### an assertion must be executed in the current
    ### frame and do so if it is the case

    if (
        PLAY_REFS.ongoing_test is not None
        and GENERAL_NS.frame_index in PLAY_REFS.test_frames
    ):

        (
            APP_REFS
            .playsupport
            .perform_frame_assertions
            (PLAY_REFS.ongoing_test, GENERAL_NS.frame_index)
        )
Same as frame_checkups(), but uses given fps.
nodezator/pygamesetup/services/play.py