def test_anyLocation(self):
        xp = XPathQuery("//bar")
        self.assertEquals(xp.matches(self.e), True)
        self.assertEquals(xp.queryForNodes(self.e), [self.bar1, self.bar2,
                                                     self.bar3, self.bar4,
                                                     self.bar5, self.bar6,
                                                     self.bar7])
Test that we maintain backwards compat for sid access on a data object.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_xpath.py/XPathTest.test_anyLocation--crossover with--dataset/ETHPy150Open quantopian/zipline/tests/test_api_shim.py/TestAPIShim.test_sid_accessor