an class="o">==</span> <span class="mi">0</span><span class="p">:</span>
                <span class="k">with</span> <span class="n">pytest</span><span class="o">.</span><span class="n">raises</span><span class="p">(</span><span class="ne">ValueError</span><span class="p">):</span>
                    <span class="n">so_res</span> <span class="o">=</span> <span class="n">stochastic_oscillator</span><span class="p">(</span><span class="n">ar</span><span class="p">)</span>
            <span class="k">else</sp