summaryrefslogtreecommitdiff
path: root/examples/antlr_grammar_tests.py
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-11-21 17:45:50 +0100
committerMatěj Cepl <mcepl@cepl.eu>2018-11-21 17:45:50 +0100
commit61077f3fa478a5329ddd4acb12212d1241de4b10 (patch)
tree264efd0f16ad7eb24c64d4081c766ab0cdfc90b9 /examples/antlr_grammar_tests.py
parente988ffeb676a959725df2b3b971ff0dbb998f573 (diff)
downloadpyparsing-git-61077f3fa478a5329ddd4acb12212d1241de4b10.tar.gz
Fix failing tests (both py2K and py3k)
Fixes #48
Diffstat (limited to 'examples/antlr_grammar_tests.py')
-rw-r--r--examples/antlr_grammar_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/antlr_grammar_tests.py b/examples/antlr_grammar_tests.py
index c2c3d8d..1df28f9 100644
--- a/examples/antlr_grammar_tests.py
+++ b/examples/antlr_grammar_tests.py
@@ -6,7 +6,7 @@ Created on 4 sept. 2010
Submitted by Luca DallOlio, September, 2010
'''
import unittest
-import antlr_grammar
+from . import antlr_grammar
class Test(unittest.TestCase):
@@ -84,4 +84,4 @@ fragment DIGIT : '0'..'9' ;"""
if __name__ == "__main__":
#import sys;sys.argv = ['', 'Test.testOptionsSpec']
- unittest.main() \ No newline at end of file
+ unittest.main()