code: def _get_test_form(size_limit: Optional[int]) -> Form:
      class TestForm(Form):
          test = FileField(
              "test", validators=[FileSizeLimit(size_limit)]
          )
  
      return TestForm()
  
file_path: superset/tests/unit_tests/forms_tests.py
imports: import contextlib
  import tempfile
  from typing import Optional
  import pytest
  from flask_wtf.file import FileField
  from wtforms import Form, ValidationError
  from superset.forms import FileSizeLimit
label_desc: Use image node_id 1 for calling a global function with example usage: _get_test_form(size_limit) and returns: TestForm