[1.8.x] Refs #26687 -- Made an i18n test not use a hardcoded path separator.

This reverts commit c0a1e1984e as it doesn't
work on the stable/1.8.x branch and instead uses os.path.join() to fix the
original failure on Windows.
This commit is contained in:
Tim Graham 2016-06-01 10:39:27 -04:00
parent c0a1e1984e
commit c95487e23d
1 changed files with 1 additions and 3 deletions

View File

@ -523,9 +523,7 @@ class SymlinkExtractorTests(ExtractorTests):
with open(self.PO_FILE, 'r') as fp:
po_contents = force_text(fp.read())
self.assertMsgId('This literal should be included.', po_contents)
self.assertLocationCommentPresent(self.PO_FILE, None, 'templates_symlinked', 'test.html')
else:
raise SkipTest("os.symlink() not available on this OS + Python version combination.")
self.assertIn(os.path.join('templates_symlinked', 'test.html'), po_contents)
class CopyPluralFormsExtractorTests(ExtractorTests):