def test_anyLocationQueryForString(self):
        xp = XPathQuery("//bar")
        self.assertRaises(NotImplementedError, xp.queryForString, None)
L{XPathQuery.queryForString} should raise a L{NotImplementedError}
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_xpath.py/XPathTest.test_anyLocationQueryForString