[Checkins] SVN: z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py python 2.6 and below needs ordereddict

Adam Groszer cvs-admin at zope.org
Sat Sep 29 13:39:23 UTC 2012


Log message for revision 127906:
  python 2.6 and below needs ordereddict

Changed:
  U   z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py

-=-
Modified: z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py
===================================================================
--- z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py	2012-09-29 13:15:56 UTC (rev 127905)
+++ z3c.recipe.paster/trunk/src/z3c/recipe/paster/tests.py	2012-09-29 13:39:19 UTC (rev 127906)
@@ -14,6 +14,7 @@
 from zope.testing import renormalizing
 import doctest
 import re
+import sys
 import unittest
 import zc.buildout.testing
 
@@ -74,6 +75,10 @@
     zc.buildout.testing.install('zope.traversing', test)
     zc.buildout.testing.install_develop('z3c.recipe.paster', test)
 
+    if sys.version_info < (2, 7, 0):
+        # 2.6 and below needs ordereddict
+        zc.buildout.testing.install('ordereddict', test)
+
 checker = renormalizing.RENormalizing([
     zc.buildout.testing.normalize_path,
     # note sure if misspelled?) has \n at the end on linux?



More information about the checkins mailing list