docstr: Verify fromrecords works with a 0-length input 
docstr_tok: ["Verify","fromrecords","works","with","a","0-length","input"]
code: def test_fromrecords_0len(self):
      """Verify fromrecords works with a 0-length input"""
      dtype = [("a", float), ("b", float)]
      r = np.rec.fromrecords([], dtype=dtype)
      assert_equal(r.shape, (0,))
  
imports: import collections.abc
  import textwrap
  from io import BytesIO
  from os import path
  from pathlib import Path
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, temppath
  from numpy.compat import pickle
label_desc: Use image node_id 2 for calling the TestFromrecords obj's underlying member method code with example usage: obj.test_fromrecords_0len() without return types