code: def test_repr_fit(posterior):
      fit = posterior.sample(num_chains=4)
      expected = """<stan.Fit>\nParameters:\n    beta: (3,)\n    sigma: ()\nDraws: 4000"""
      assert repr(fit) == expected
  
imports: import numpy
  import pytest
  import stan
label_desc: Use image node_id 2 for calling a global function with example usage: test_repr_fit(posterior) without return types