Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (19 sloc) 0.628 kB
import unittest
from test_commons import PascalTestCase
from lxml import etree
class PascalASTTestCase(PascalTestCase):
stage = "abstree"
syn = etree.ElementTree(etree.Element('xml'))
@classmethod
def setUpClass(cls):
super(PascalASTTestCase, cls).setUpClass()
parser = etree.XMLParser(recover=True)
cls.syn = etree.parse('abstree.xml', parser)
cls.root = cls.syn.getroot()
class TestAST(PascalASTTestCase):
source = "ast.pascal"
def test_syntax(self):
# we just abuse this to run things easily
pass
if __name__ == '__main__':
unittest.main()
Jump to Line
Something went wrong with that request. Please try again.