summaryrefslogtreecommitdiff
path: root/python/tests
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2004-05-17 06:56:59 +0000
committerMike Hommey <mh@glandium.org>2004-05-17 06:56:59 +0000
commitd4e028c96af89ade493b440d4f2de6b684c03a06 (patch)
tree4b74b3cd4b14524309bc5a3e776d81d4bbc5efe4 /python/tests
parent81bcf076ea11e114a60e429338a15748066de163 (diff)
downloadlibxml2-d4e028c96af89ade493b440d4f2de6b684c03a06.tar.gz
Load /tmp/tmp.QVLX5b/libxml2-2.6.10 intoupstream/2.6.10
packages/libxml2/branches/upstream/current.
Diffstat (limited to 'python/tests')
-rw-r--r--python/tests/Makefile.am2
-rw-r--r--python/tests/Makefile.in2
-rwxr-xr-xpython/tests/tstLastError.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
index 584ddbc..bf04878 100644
--- a/python/tests/Makefile.am
+++ b/python/tests/Makefile.am
@@ -45,7 +45,7 @@ EXTRA_DIST = $(PYTESTS) $(XMLS)
if WITH_PYTHON
tests: $(PYTESTS)
- -@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \
+ -@(PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; export PYTHONPATH; \
for test in $(PYTESTS) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done)
else
tests:
diff --git a/python/tests/Makefile.in b/python/tests/Makefile.in
index cd259be..893a517 100644
--- a/python/tests/Makefile.in
+++ b/python/tests/Makefile.in
@@ -444,7 +444,7 @@ uninstall-am: uninstall-info-am
@WITH_PYTHON_TRUE@tests: $(PYTESTS)
-@WITH_PYTHON_TRUE@ -@(PYTHONPATH="..:../.libs:$(srcdir)/.." ; export PYTHONPATH; \
+@WITH_PYTHON_TRUE@ -@(PYTHONPATH="..:../.libs:$(srcdir)/..:$$PYTHONPATH" ; export PYTHONPATH; \
@WITH_PYTHON_TRUE@ for test in $(PYTESTS) ; do echo "-- $$test" ; $(PYTHON) $(srcdir)/$$test ; done)
@WITH_PYTHON_FALSE@tests:
diff --git a/python/tests/tstLastError.py b/python/tests/tstLastError.py
index 83e98b8..442609c 100755
--- a/python/tests/tstLastError.py
+++ b/python/tests/tstLastError.py
@@ -21,7 +21,7 @@ class TestCase(unittest.TestCase):
# disable the default error handler
libxml2.registerErrorHandler(None,None)
try:
- f(*args)
+ apply(f,args)
except exc:
e = libxml2.lastError()
if e is None: