diff options
Diffstat (limited to 'tests/warn/warningtester.py')
-rw-r--r-- | tests/warn/warningtester.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py index d43b6d5e..f8f55655 100644 --- a/tests/warn/warningtester.py +++ b/tests/warn/warningtester.py @@ -4,6 +4,10 @@ import os.path import sys from StringIO import StringIO +path=os.getenv('UNINSTALLED_INTROSPECTION_SRCDIR', None) +assert path is not None +sys.path.insert(0, path) + from giscanner.annotationparser import AnnotationParser from giscanner.ast import Include, Namespace from giscanner.introspectablepass import IntrospectablePass |