diff --git a/tests/i18n/test_extraction.py b/tests/i18n/test_extraction.py index ca2690d0bb..27d1a67fe2 100644 --- a/tests/i18n/test_extraction.py +++ b/tests/i18n/test_extraction.py @@ -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):