HomeSort by relevance Sort by last modified time
    Searched refs:assertStr (Results 1 - 2 of 2) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
66 self.assertStr(Attr(Name("a"), Name("b")), "a.b")
67 self.assertStr(Attr(call, Name("b")), "foo().b")
76 self.assertStr(Name("a"), "a")
77 self.assertStr(Name("foo.foo().bar"), "foo.foo().bar")
78 self.assertStr(Name("a", prefix="b"), "ba")
100 self.assertStr(self._Call("A"), "A()")
101 self.assertStr(self._Call("b", kids[1]), "b(1,2,3)")
102 self.assertStr(self._Call("a.b().c", kids[2]), "a.b().c(1,3,2,4)")
103 self.assertStr(self._Call("d", kids[3], prefix=" "), " d(b, j)"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_util.py 25 def assertStr(self, node, string):
66 self.assertStr(Attr(Name("a"), Name("b")), "a.b")
67 self.assertStr(Attr(call, Name("b")), "foo().b")
76 self.assertStr(Name("a"), "a")
77 self.assertStr(Name("foo.foo().bar"), "foo.foo().bar")
78 self.assertStr(Name("a", prefix="b"), "ba")
100 self.assertStr(self._Call("A"), "A()")
101 self.assertStr(self._Call("b", kids[1]), "b(1,2,3)")
102 self.assertStr(self._Call("a.b().c", kids[2]), "a.b().c(1,3,2,4)")
103 self.assertStr(self._Call("d", kids[3], prefix=" "), " d(b, j)"
    [all...]

Completed in 51 milliseconds