diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tests/test_c-to-c.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tests/test_c-to-c.py b/examples/tests/test_c-to-c.py index 2c3ddcc..995944a 100644 --- a/examples/tests/test_c-to-c.py +++ b/examples/tests/test_c-to-c.py @@ -3,9 +3,9 @@ import sys import unittest -sys.path.insert(0, '..') # for c-to-c.py -sys.path.insert(0, '../..') # for pycparser libs -sys.path.insert(0, 'examples') # for running from root dir +# Run from the root dir +sys.path.insert(0, '.') +sys.path.insert(0, 'examples') from pycparser import c_parser c2cmodule = __import__('c-to-c') |