class="n">dates</span><span class="p">[</span><span class="mi">1</span><span class="p">])</span>
        <span class="k">assert</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">data</span><span class="p">,</span> <span class="n">Portfolio</span><span class="p">)</span></div></div>


<div class="viewcode-block" id="Test_stock_util"><a class="viewcode-back" href="../../../docs/source/time_series_transform.test.html#time_series_transform.test.test_stock_base.Test_stock_util">[do