Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/Tests/TestTreeFragment.py   plexnet(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Tests/TestTreeFragment.py   essig(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/c/y/Cython-0.20.1/Cython/Compiler/Tests/TestTreeFragment.py   Cython(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/c/y/cython-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   cython(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   CythonCTypesBackend(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/p/y/pylibs-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   pylibs(Download)
    def test_basic(self):
        F = self.fragment(u"x = 4")
        T = F.copy()
        self.assertCode(u"x = 4", T)
 
    def test_substitution(self):
        F = self.fragment(u"x = 4")
        y = NameNode(pos=None, name=u"y")
        T = F.substitute({"x" : y})
        self.assertCode(u"y = 4", T)

src/e/s/essig-HEAD/vm/cython/Cython/Tests/TestCodeWriter.py   essig(Download)
    def t(self, codestr):
        self.assertCode(codestr, self.fragment(codestr).root)
 
    def test_print(self):
        self.t(u"""

src/p/l/plexnet-HEAD/third_party/python/Cython/Tests/TestCodeWriter.py   plexnet(Download)
    def t(self, codestr):
        self.assertCode(codestr, self.fragment(codestr).root)
 
    def test_print(self):
        self.t(u"""

src/c/y/Cython-0.20.1/Cython/Tests/TestCodeWriter.py   Cython(Download)
    def t(self, codestr):
        self.assertCode(codestr, self.fragment(codestr).root)
 
    def test_print(self):
        self.t(u"""

src/c/y/cython-HEAD/Cython/Tests/TestCodeWriter.py   cython(Download)
    def t(self, codestr):
        self.assertCode(codestr, self.fragment(codestr).root)
 
    def test_print(self):
        self.t(u"""

  1 | 2  Next