code: def test_synth_idempotent(dataset):
      """Checks that a synthetic dataset produces identical results when seeded."""
      assert list(dataset.take(20)) == list(dataset.take(20))
  
file_path: river/river/datasets/test_datasets.py
imports: from __future__ import annotations
  import functools
  import importlib
  import inspect
  import itertools
  from urllib import request
  import pytest
  from river import datasets
  from .None import base
label_desc: Use image node_id 6 for calling a global function with example usage: test_synth_idempotent(dataset) without return types