Skip to content

Commit

Permalink
- fixed test failures on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Oct 6, 2010
1 parent 02e63cb commit f091059
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/recipe/i18n/README.txt
Expand Up @@ -616,7 +616,7 @@ original_paths are included.
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
Expand Down
2 changes: 2 additions & 0 deletions src/z3c/recipe/i18n/tests.py
Expand Up @@ -110,6 +110,8 @@ def setUp(test):
# the following are for compatibility with Windows
(re.compile('- .*\.exe\n'), ''),
(re.compile('-script.py'), ''),
(re.compile(r'\\[\\]?'), '/'),
(re.compile('outputDir'), 'outputdir'),
])


Expand Down

0 comments on commit f091059

Please sign in to comment.