code: def test_short_timeout():
      script = AppTest.from_string(
          """
          import time
          import streamlit as st
  
          st.write("start")
          time.sleep(0.5)
          st.write("end")
          """
      )
      with pytest.raises(RuntimeError):
          sr = script.run(timeout=0.2)
  
imports: from datetime import date, datetime, time
  import numpy
  import pandas
  import pytest
  from streamlit.elements.markdown import MARKDOWN_HORIZONTAL_RULE_EXPRESSION
  from streamlit.testing.v1.app_test import AppTest
label_desc: Use image node_id 38 for calling a global function with example usage: test_short_timeout() without return types