Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/p/y/Py2C-HEAD/tests/test_translator.py   Py2C(Download)
 
from py2c.syntax_tree import python
from py2c.translator import Python2ASTTranslator, TranslationError
 
 
class ErrorReportingTestCase(unittest.TestCase):
    """Tests for Error Reporting in Python2ASTTranslator"""
    def setUp(self):
        self.translator = Python2ASTTranslator()
    def setUp(self):
        self.translator = Python2ASTTranslator()
 
    # Allows addition of boiler-plate to processing (eg. Moving inside a loop)
    def process_node(self, node):