class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_flow_targets_not_iterator(self):
      generator = FullBatchNodeGenerator(self.G)
      node_ids = list(self.G.nodes())[:3]
      node_targets = 1
      with pytest.raises(TypeError):
          generator.flow(node_ids, node_targets)
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper import *
  import networkx
  import numpy
  import random
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import example_graph, example_graph_random, example_hin_1, create_graph_features, repeated_features, weighted_tree
  from ..None import test_utils
label_desc: Use image node_id 8 for calling the Test_FullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_generator_flow_targets_not_iterator() without return types