class_docstr: Tests of Attri2VecLinkGenerator class
code: def test_Attri2VecLinkGenerator_not_Stellargraph(self):
      G = nx.Graph()
      elist = [(1, 2), (2, 3), (1, 4), (3, 2)]
      G.add_edges_from(elist)
  
      # Add example features
      for v in G.nodes():
          G.nodes[v]["feature"] = np.ones(1)
  
      with pytest.raises(TypeError):
          Attri2VecLinkGenerator(G, batch_size=self.batch_size)
  
imports: import numpy
  import networkx
  import pytest
  import random
  from stellargraph.mapper import *
  from stellargraph.core.graph import *
  from stellargraph.data.unsupervised_sampler import *
  from ..test_utils.graphs import example_graph, example_graph_random, example_hin_1, repeated_features, weighted_tree
  from ..None import test_utils
label_desc: Use image node_id 4 for calling the Test_Attri2VecLinkGenerator obj's underlying member method code with example usage: obj.test_Attri2VecLinkGenerator_not_Stellargraph() without return types