code: def test_iter_pages_short(page: int) -> None:
      p = RangePagination(page=page, total=40)
      assert list(p.iter_pages()) == [1, 2, 3, 4]
  
imports: from __future__ import annotations
  import typing
  import pytest
  from flask import Flask
  from werkzeug.exceptions import NotFound
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.pagination import Pagination
label_desc: Use image node_id 9 for calling a global function with example usage: test_iter_pages_short(page) without return types