code: def test_orjson_serialization():
      df = pd.DataFrame(
          {
              "date_1": pd.date_range("2021-01-01", periods=2),
              "date_2": pd.date_range("2022-02-15", periods=2).strftime(
                  "%B %d, %Y, %r"
              ),
              "number": np.array([0.2233, 0.57281]),
              "number_2": np.array([84, 23]).astype(np.int64),
              "bool": [True, False],
              "markdown": ["# Hello", "# Goodbye"],
          }
      )
  
      with gr.Blocks() as demo:
          gr.DataFrame(df)
      app, _, _ = demo.launch(prevent_thread_lock=True)
      test_client = TestClient(app)
      response = test_client.get("/")
      assert response.status_code == 200
      demo.close()
  
imports: import functools
  import os
  import tempfile
  from contextlib import asynccontextmanager, closing
  from unittest import mock
  import gradio_client
  import numpy
  import pandas
  import pytest
  import starlette.routing
  from fastapi import FastAPI
  from fastapi.testclient import TestClient
  from gradio_client import media_data
  import gradio
  from gradio import Blocks, Button, Interface, Number, Textbox, close_all, routes, wasm_utils
  from gradio.route_utils import FnIndexInferError
label_desc: Use image node_id 6 for calling a global function with example usage: test_orjson_serialization() without return types