code: def test_read_pdb_from_list():
      """Test public read_pdb_from_list"""
  
      for pdb_text, code in zip(
          [three_eiy, four_eiy], ["3eiy", "4eiy"]
      ):
          ppdb = PandasPdb()
          ppdb.read_pdb_from_list(pdb_text.splitlines(True))
          assert ppdb.pdb_text == pdb_text
          assert ppdb.code == code
          assert ppdb.pdb_path == ""
  
file_path: biopandas/biopandas/pdb/tests/test_read_pdb.py
imports: import os
  from urllib.error import HTTPError, URLError
  from urllib.request import urlopen
  import numpy
  import pandas
  from biopandas.pdb import PandasPdb
  from biopandas.testutils import assert_raises
  from nose.tools import raises
label_desc: Use image node_id 8 for calling a global function with example usage: test_read_pdb_from_list() without return types