Skip to content

Commit

Permalink
Skip EPS image test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemacfarlane committed Mar 4, 2013
1 parent 7d5dd85 commit 3b32ac5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/z3c/rml/tests/test_rml.py
Expand Up @@ -114,6 +114,12 @@ def test_suite():
for filename in os.listdir(inputDir):
if not filename.endswith(".rml"):
continue

if sys.platform.startswith('win') and filename == 'rml-examples-032-images.rml':
# The Ghostscript command to convert EPS files in PIL doesn't work
# on Windows. It's easy to fix but requires modifying PIL.
continue

inPath = os.path.join(inputDir, filename)
outPath = os.path.join(outputDir, filename[:-4] + '.pdf')
expectPath = os.path.join(expectDir, filename[:-4] + '.pdf')
Expand Down

0 comments on commit 3b32ac5

Please sign in to comment.