Did I find the right examples for you? yes no

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

src/e/s/essig-HEAD/vm/cython/Cython/Compiler/Tests/TestTreePath.py   essig(Download)
    def test_node_path(self):
        t = self._build_tree()
        self.assertEquals(2, len(find_all(t, "//DefNode")))
        self.assertEquals(2, len(find_all(t, "//NameNode")))
        self.assertEquals(1, len(find_all(t, "//ReturnStatNode")))
        self.assertEquals(1, len(find_all(t, "//DefNode//ReturnStatNode")))
 
    def test_node_path_star(self):
        t = self._build_tree()
        self.assertEquals(10, len(find_all(t, "//*")))

src/c/y/Cython-0.20.1/Cython/Compiler/Tests/TestTreePath.py   Cython(Download)
    def test_node_path(self):
        t = self._build_tree()
        self.assertEquals(2, len(find_all(t, "//DefNode")))
        self.assertEquals(2, len(find_all(t, "//NameNode")))
        self.assertEquals(1, len(find_all(t, "//ReturnStatNode")))
        self.assertEquals(1, len(find_all(t, "//DefNode//ReturnStatNode")))
 
    def test_node_path_star(self):
        t = self._build_tree()
        self.assertEquals(10, len(find_all(t, "//*")))

src/c/y/cython-HEAD/Cython/Compiler/Tests/TestTreePath.py   cython(Download)
    def test_node_path(self):
        t = self._build_tree()
        self.assertEquals(2, len(find_all(t, "//DefNode")))
        self.assertEquals(2, len(find_all(t, "//NameNode")))
        self.assertEquals(1, len(find_all(t, "//ReturnStatNode")))
        self.assertEquals(1, len(find_all(t, "//DefNode//ReturnStatNode")))
 
    def test_node_path_star(self):
        t = self._build_tree()
        self.assertEquals(10, len(find_all(t, "//*")))

src/p/y/pylibs-HEAD/Cython/Compiler/Tests/TestTreePath.py   pylibs(Download)
    def test_node_path(self):
        t = self._build_tree()
        self.assertEquals(2, len(find_all(t, "//DefNode")))
        self.assertEquals(2, len(find_all(t, "//NameNode")))
        self.assertEquals(1, len(find_all(t, "//ReturnStatNode")))
        self.assertEquals(1, len(find_all(t, "//DefNode//ReturnStatNode")))
 
    def test_node_path_star(self):
        t = self._build_tree()
        self.assertEquals(10, len(find_all(t, "//*")))

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Tests/TestTreePath.py   CythonCTypesBackend(Download)
    def test_node_path(self):
        t = self._build_tree()
        self.assertEquals(2, len(find_all(t, "//DefNode")))
        self.assertEquals(2, len(find_all(t, "//NameNode")))
        self.assertEquals(1, len(find_all(t, "//ReturnStatNode")))
        self.assertEquals(1, len(find_all(t, "//DefNode//ReturnStatNode")))
 
    def test_node_path_star(self):
        t = self._build_tree()
        self.assertEquals(10, len(find_all(t, "//*")))

src/c/y/CythonCTypesBackend-HEAD/Cython/CTypesBackend/Tests/TestExternDefTransform.py   CythonCTypesBackend(Download)
    int printf(char *, int *)\
""")
        self.assertEquals(self.codeToString(t),
"""\
printf = ctypes.CDLL(ctypes.util.find_library('c')).printf
    void printf(char *, char)\
""")
        self.assertEquals(self.codeToString(t),
u"""\
printf = ctypes.CDLL(ctypes.util.find_library('c')).printf
        int tv_usec\
""")
        self.assertEquals(self.codeToString(t),
"""\
class timeval(ctypes.Structure,):