Did I find the right examples for you? yes no

All Samples(35)  |  Call(35)  |  Derive(0)  |  Import(0)
Fail if the two objects are unequal as determined by the '=='
operator.

src/c/y/cython-HEAD/Cython/Build/Tests/TestInline.py   cython(Download)
    def test_simple(self):
        self.assertEquals(inline("return 1+2", **self.test_kwds), 3)
 
    def test_types(self):
        self.assertEquals(inline("""
    def test_locals(self):
        a = 1
        b = 2
        self.assertEquals(inline("return a+b", **self.test_kwds), 3)
 
    def test_globals(self):
        self.assertEquals(inline("return global_value + 1", **self.test_kwds), global_value + 1)
 
    def test_no_return(self):
        self.assertEquals(inline("""

src/c/y/cython-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   cython(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/c/y/Cython-0.20.1/Cython/Compiler/Tests/TestTreeFragment.py   Cython(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   CythonCTypesBackend(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/c/y/Cython-0.20.1/Cython/Build/Tests/TestInline.py   Cython(Download)
    def test_simple(self):
        self.assertEquals(inline("return 1+2", **self.test_kwds), 3)
 
    def test_types(self):
        self.assertEquals(inline("""
    def test_locals(self):
        a = 1
        b = 2
        self.assertEquals(inline("return a+b", **self.test_kwds), 3)
 
    def test_globals(self):
        self.assertEquals(inline("return global_value + 1", **self.test_kwds), global_value + 1)
        return b
        """, a=3)
        self.assertEquals(type(b), float)
 
    if has_numpy:

src/p/l/plexnet-HEAD/third_party/python/Cython/Compiler/Tests/TestTreeFragment.py   plexnet(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/c/y/CythonCTypesBackend-HEAD/Cython/Build/Tests/TestInline.py   CythonCTypesBackend(Download)
    def test_simple(self):
        self.assertEquals(inline("return 1+2", **self.test_kwds), 3)
 
    def test_types(self):
        self.assertEquals(inline("""
    def test_locals(self):
        a = 1
        b = 2
        self.assertEquals(inline("return a+b", **self.test_kwds), 3)
 
    def test_globals(self):
        self.assertEquals(inline("return global_value + 1", **self.test_kwds), global_value + 1)
        return b
        """, a=3)
        self.assertEquals(type(b), float)
 
    if has_numpy:

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Tests/TestTreeFragment.py   essig(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/p/y/pylibs-HEAD/Cython/Compiler/Tests/TestTreeFragment.py   pylibs(Download)
        v = F.root.stats[1].rhs.operand2.operand1
        a = T.stats[1].rhs.operand2.operand1
        self.assertEquals(v.pos, a.pos)
 
    def test_temps(self):

src/c/y/cython-HEAD/Cython/Build/Tests/TestStripLiterals.py   cython(Download)
    def t(self, before, expected):
        actual, literals = strip_string_literals(before, prefix="_L")
        self.assertEquals(expected, actual)
        for key, value in literals.items():
            actual = actual.replace(key, value)
        self.assertEquals(before, actual)

  1 | 2  Next