code: def test_degree_sequences():
      seq = powerlaw_sequence(10, seed=1)
      seq = powerlaw_sequence(10)
      assert len(seq) == 10
  
imports: import pytest
  from networkx.utils import powerlaw_sequence, random_weighted_sample, weighted_choice, zipf_rv
label_desc: Use image node_id 1 for calling a global function with example usage: test_degree_sequences() without return types