[Python-modules-commits] r12076 - in packages/cerealizer/trunk/debian (changelog runtests.py)
bernat at users.alioth.debian.org
bernat at users.alioth.debian.org
Tue Mar 2 07:24:15 UTC 2010
Date: Tuesday, March 2, 2010 @ 07:24:14
Author: bernat
Revision: 12076
Fix unittests to run with Python 2.6. Closes: #571157
Modified:
packages/cerealizer/trunk/debian/changelog
packages/cerealizer/trunk/debian/runtests.py
Modified: packages/cerealizer/trunk/debian/changelog
===================================================================
--- packages/cerealizer/trunk/debian/changelog 2010-03-02 07:21:31 UTC (rev 12075)
+++ packages/cerealizer/trunk/debian/changelog 2010-03-02 07:24:14 UTC (rev 12076)
@@ -2,6 +2,7 @@
* Bump Standards-Version to 3.8.4.
* Switch to 3.0 (quilt) format.
+ * Fix unittests to be able to run with Python 2.6. Closes: #571157.
-- Vincent Bernat <bernat at debian.org> Tue, 02 Mar 2010 08:20:40 +0100
Modified: packages/cerealizer/trunk/debian/runtests.py
===================================================================
--- packages/cerealizer/trunk/debian/runtests.py 2010-03-02 07:21:31 UTC (rev 12075)
+++ packages/cerealizer/trunk/debian/runtests.py 2010-03-02 07:24:14 UTC (rev 12076)
@@ -9,6 +9,7 @@
_path = sys.path[:]
sys.path[:] = []
addsitedir(join(root, site_packages[1:]))
+addsitedir(join(root, site_packages[1:].replace('dist-packages', 'site-packages')))
sys.path.extend(_path)
execfile("test/regtest.py")
More information about the Python-modules-commits
mailing list