Removed unused branch from SymlinkExtractorTests.test_symlink().
Unused since
SymlinkExtractorTests.test_dir, which contains
SymlinkExtractorTests.symlinked_dir, is deleted after every test.
@@ -496,9 +496,6 @@ class SymlinkExtractorTests(ExtractorTests):
self.symlinked_dir = os.path.join(self.test_dir, 'templates_symlinked')
def test_symlink(self):
- if os.path.exists(self.symlinked_dir):
- self.assertTrue(os.path.islink(self.symlinked_dir))
- else:
if symlinks_supported():
os.symlink(os.path.join(self.test_dir, 'templates'), self.symlinked_dir)
else:
