code: def test_edge_betweenness_centrality_weight_except(
      graph_file,
      directed,
      subset_size,
      normalized,
      weight,
      result_dtype,
      edgevals,
  ):
      """Test calls edge_betweeness_centrality with weight parameter
  
      As of 05/28/2020, weight is not supported and should raise
      a NotImplementedError
      """
      with pytest.raises(NotImplementedError):
          sorted_df = calc_edge_betweenness_centrality(
              graph_file,
              directed=directed,
              k=subset_size,
              normalized=normalized,
              weight=weight,
              seed=42,
              result_dtype=result_dtype,
              edgevals=edgevals,
          )
          compare_scores(
              sorted_df, first_key="cu_bc", second_key="ref_bc"
          )
  
imports: import gc
  import pytest
  import random
  import networkx
  import numpy
  import cupy
  import cudf
  import cugraph
  from cugraph.datasets import karate_disjoint
  from cugraph.testing import utils, SMALL_DATASETS
label_desc: Use image node_id 14 for calling a global function with example usage: test_edge_betweenness_centrality_weight_except(graph_file, directed, subset_size, normalized, weight, result_dtype, edgevals) without return types