Did I find the right examples for you? yes no

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

src/c/y/Cython-0.20.1/Cython/Compiler/Tests/TestParseTreeTransforms.py   Cython(Download)
    def test_parallel_directives_cimports(self):
        self.run_pipeline(self.pipeline, self.import_code)
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)
 
    def test_parallel_directives_imports(self):
        self.run_pipeline(self.pipeline,
                          self.import_code.replace(u'cimport', u'import'))
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)

src/c/y/cython-HEAD/Cython/Compiler/Tests/TestParseTreeTransforms.py   cython(Download)
    def test_parallel_directives_cimports(self):
        self.run_pipeline(self.pipeline, self.import_code)
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)
 
    def test_parallel_directives_imports(self):
        self.run_pipeline(self.pipeline,
                          self.import_code.replace(u'cimport', u'import'))
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)

src/c/y/CythonCTypesBackend-HEAD/Cython/Compiler/Tests/TestParseTreeTransforms.py   CythonCTypesBackend(Download)
    def test_parallel_directives_cimports(self):
        self.run_pipeline(self.pipeline, self.import_code)
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)
 
    def test_parallel_directives_imports(self):
        self.run_pipeline(self.pipeline,
                          self.import_code.replace(u'cimport', u'import'))
        parallel_directives = self.pipeline[0].parallel_directives
        self.assertEqual(parallel_directives, self.expected_directives_dict)

src/c/y/Cython-0.20.1/Cython/Compiler/Tests/TestVisitor.py   Cython(Download)
        tree = self._build_tree()
        Test(None)(tree)
        self.assertEqual(1, calls[0])
 
    def test_binop_method(self):
        tree = self._build_tree()
        Test(None)(tree)
        self.assertEqual(1, calls['bytes'])
        self.assertEqual(0, calls['object'])
 

src/c/y/cython-HEAD/Cython/Compiler/Tests/TestVisitor.py   cython(Download)
        tree = self._build_tree()
        Test(None)(tree)
        self.assertEqual(1, calls[0])
 
    def test_binop_method(self):
        tree = self._build_tree()
        Test(None)(tree)
        self.assertEqual(1, calls['bytes'])
        self.assertEqual(0, calls['object'])