[Checkins] SVN: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/ - fixed test failures on Windows
Yvo Schubbe
y.2010 at wcm-solutions.de
Wed Oct 6 03:50:35 EDT 2010
Log message for revision 117272:
- fixed test failures on Windows
Changed:
U z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/README.txt
U z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py
-=-
Modified: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/README.txt
===================================================================
--- z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/README.txt 2010-10-06 07:46:14 UTC (rev 117271)
+++ z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/README.txt 2010-10-06 07:50:35 UTC (rev 117272)
@@ -616,7 +616,7 @@
base = os.path.dirname(os.path.abspath(os.path.realpath(__file__)))
base = os.path.dirname(base)
base = os.path.dirname(base)
- setuptools_path = join(base, 'eggs/...-pyN.N.egg')
+ setuptools_path = ...
sys.path.append(setuptools_path)
known_paths.add(os.path.normcase(setuptools_path))
import pkg_resources
Modified: z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py
===================================================================
--- z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py 2010-10-06 07:46:14 UTC (rev 117271)
+++ z3c.recipe.i18n/trunk/src/z3c/recipe/i18n/tests.py 2010-10-06 07:50:35 UTC (rev 117272)
@@ -110,6 +110,8 @@
# the following are for compatibility with Windows
(re.compile('- .*\.exe\n'), ''),
(re.compile('-script.py'), ''),
+ (re.compile(r'\\[\\]?'), '/'),
+ (re.compile('outputDir'), 'outputdir'),
])
More information about the checkins
mailing list