From d10a390258699b87823a11b6905b4807e3466367 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 1 Mar 2012 16:21:55 -0800 Subject: [PATCH] tests: Prefer development Python files over installed ones. A developer may have Open vSwitch installed, in which case many of the Python files which are tested will be in both the development tree and the system Python library. When running unit tests, we want to test the development tree, so it's better to prefer importing those files. Signed-off-by: Ethan Jackson --- tests/atlocal.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/atlocal.in b/tests/atlocal.in index 7f09143f4..aa86251cf 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -4,7 +4,7 @@ HAVE_PYTHON='@HAVE_PYTHON@' PERL='@PERL@' PYTHON='@PYTHON@' -PYTHONPATH=$PYTHONPATH:$abs_top_srcdir/python:$abs_top_builddir/tests +PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH export PYTHONPATH PYTHONIOENCODING=utf_8 -- 2.47.0