code: def test_runtime_exceeded_warns():
      ts = np.arange(2**18)
      m = 2**8
      runtime = 1
  
      warn_text = "Max runtime exceeded. Approximate solution is given."
      with pytest.warns(RuntimeWarning, match=warn_text):
          scrimp.scrimp_plus_plus(ts, m, runtime=runtime)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import os
  import pytest
  import numpy
  import matrixprofile
  from matrixprofile import scrimp
label_desc: Use image node_id 31 for calling a global function with example usage: test_runtime_exceeded_warns() without return types