code: def test_uniform_neighbor_sample_exclude_sources_basic():
      df = cudf.DataFrame(
          {
              "src": [0, 4, 1, 2, 3, 5, 4, 1, 0],
              "dst": [1, 1, 2, 4, 3, 1, 5, 0, 2],
              "eid": [9, 8, 7, 6, 5, 4, 3, 2, 1],
          }
      )
  
      G = cugraph.MultiGraph(directed=True)
      G.from_cudf_edgelist(
          df, source="src", destination="dst", edge_id="eid"
      )
  
      sampling_results = cugraph.uniform_neighbor_sample(
          G,
          cudf.DataFrame(
              {
                  "seed": cudf.Series([0, 4, 1], dtype="int64"),
                  "batch": cudf.Series([1, 1, 1], dtype="int32"),
              }
          ),
          [2, 3, 3],
          with_replacement=False,
          with_edge_properties=True,
          with_batch_ids=True,
          random_state=62,
          prior_sources_behavior="exclude",
      ).sort_values(by="hop_id")
  
      expected_hop_0 = [1, 2, 1, 5, 2, 0]
      assert sorted(
          sampling_results[
              sampling_results.hop_id == 0
          ].destinations.values_host.tolist()
      ) == sorted(expected_hop_0)
  
      next_sources = set(
          sampling_results[
              sampling_results.hop_id > 0
          ].sources.values_host.tolist()
      )
      for v in [0, 4, 1]:
          assert v not in next_sources
  
      next_sources = set(
          sampling_results[
              sampling_results.hop_id > 1
          ].sources.values_host.tolist()
      )
      for v in sampling_results[
          sampling_results.hop_id == 1
      ].sources.values_host.tolist():
          assert v not in next_sources
  
imports: import gc
  import random
  import pytest
  import cupy
  import cudf
  import cugraph
  from cugraph import uniform_neighbor_sample
  from cugraph.testing import UNDIRECTED_DATASETS
  from cugraph.datasets import email_Eu_core, small_tree
  from pylibcugraph.testing.utils import gen_fixture_params_product
label_desc: Use image node_id 12 for calling a global function with example usage: test_uniform_neighbor_sample_exclude_sources_basic() without return types