code: def test_fromstring_bogus():
      with assert_warns(DeprecationWarning):
          assert_equal(
              np.fromstring("1. 2. 3. flop 4.", dtype=float, sep=" "),
              np.array([1.0, 2.0, 3.0]),
          )
  
imports: import warnings
  import platform
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_raises, assert_warns, assert_array_equal, temppath, IS_MUSL
  from __tests__.numpy.core.tests._locales import CommaDecimalPointLocale
label_desc: Use image node_id 8 for calling a global function with example usage: test_fromstring_bogus() without return types