def test_clear_limits(self): xq = Xquery(xpath='/el') xq.set_limits(low=2, high=5) xq.clear_limits() self.assertEqual('/el', xq.getQuery())