code: def test_bernoulli_random_seed_same():
      fits = [
          stan.build(program_code, data=data, random_seed=42).sample()
          for _ in range(2)
      ]
      assert np.allclose(*[fit["theta"] for fit in fits])
  
file_path: pystan/tests/test_basic_bernoulli.py
imports: import numpy
  import pytest
  import stan
label_desc: Use image node_id 10 for calling a global function with example usage: test_bernoulli_random_seed_same() without return types