You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2012/11/07 05:20:34 UTC

svn commit: r1406452 - /libcloud/trunk/setup.py

Author: tomaz
Date: Wed Nov  7 04:20:34 2012
New Revision: 1406452

URL: http://svn.apache.org/viewvc?rev=1406452&view=rev
Log:
Also disable it with 2.5.

Modified:
    libcloud/trunk/setup.py

Modified: libcloud/trunk/setup.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/setup.py?rev=1406452&r1=1406451&r2=1406452&view=diff
==============================================================================
--- libcloud/trunk/setup.py (original)
+++ libcloud/trunk/setup.py Wed Nov  7 04:20:34 2012
@@ -130,11 +130,12 @@ class TestCommand(Command):
         testfiles = []
         for test_path in TEST_PATHS:
             for t in glob(pjoin(self._dir, test_path, 'test_*.py')):
-                if sys.version_info >= (3, 2) and sys.version_info < (3, 3) \
+                if (sys.version_info >= (3, 2) and sys.version_info < (3, 3) or
+                   sys.version_info >= (2, 5) and sys.version_info < (2, 6)) \
                    and t.find('test_local'):
-                    # Lockfile doesn't work with 3.2, temporary disable
-                    # local_storage test with 3.2 until fixes have been
-                    # submitted upstream
+                    # Lockfile doesn't work with 2.5 and 3.2. Temporary disable
+                    # local_storage test until fixes have been submitted
+                    # upstream
                     continue
                 testfiles.append('.'.join(
                     [test_path.replace('/', '.'), splitext(basename(t))[0]]))