code: def test_graph_pool():
      min_degree = 0
      max_degree = 10
  
      layer_copied = dc.models.layers.GraphPool(
          min_degree=min_degree, max_degree=max_degree
      )
      config = layer_copied.get_config()
      layer_copied = dc.models.layers.GraphPool.from_config(config)
  
      assert layer_copied.max_degree == layer_copied.max_degree
      assert layer_copied.min_degree == layer_copied.min_degree
  
imports: import deepchem
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_graph_pool() without return types