ctuation">:</span>
    <span class="Keyword">if</span> <span class="Keyword">not</span> <span class="Identifier">exceptionOccurred</span><span class="Punctuation">:</span>
      <span class="Comment"># Simulate an exception on the first call</span>
      <span class="Identifier">exceptionOccurred</span> <span class="Operator">=</span> <span class="Identifier">true</span>
      <span class="Keyword">raise</span> <span class="Identifier">newException</span><span class="Punctuation">(</span><span class="Identi