def testBuildWeeklyFeed(self):
        with common.TmpDir() as tmpPath:
            instrument = "aapl"
            bf = yahoofinance.build_feed([instrument], 2013, 2013, storage=tmpPath, frequency=bar.Frequency.WEEK)
            bf.loadAll()
            self.assertEqual(round(bf[instrument][-1].getOpen(), 2), 557.46)
            self.assertEqual(round(bf[instrument][-1].getHigh(), 2), 561.28)
            self.assertEqual(round(bf[instrument][-1].getLow(), 2), 540.43)
            self.assertEqual(round(bf[instrument][-1].getClose(), 2), 540.98)
            self.assertTrue((9852500, 9855900, 68991600) in bf[instrument][-1].getVolume())
dataset/ETHPy150Open gbeced/pyalgotrade/testcases/yahoo_test.py/ToolsTestCase.testBuildWeeklyFeed/swapped operands of `in`