diff options
author | eli.bendersky <devnull@localhost> | 2012-01-20 09:24:32 +0200 |
---|---|---|
committer | eli.bendersky <devnull@localhost> | 2012-01-20 09:24:32 +0200 |
commit | 665a0bd5c7ce7c9b7be87aed962bb33a541c0850 (patch) | |
tree | 7da1c51fccb840dc0db23ff708502ec0df94f54e /examples | |
parent | ef7c35f891b7d3c5b798a4f195bced6c32232ff7 (diff) | |
download | platform_external_python_pycparser-665a0bd5c7ce7c9b7be87aed962bb33a541c0850.tar.gz platform_external_python_pycparser-665a0bd5c7ce7c9b7be87aed962bb33a541c0850.tar.bz2 platform_external_python_pycparser-665a0bd5c7ce7c9b7be87aed962bb33a541c0850.zip |
adaptations to execute tests successfully on Windows from the root dir
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') |