Removed unused branch from SymlinkExtractorTests.test_symlink().

Unused since bb7bb379e8.
SymlinkExtractorTests.test_dir, which contains
SymlinkExtractorTests.symlinked_dir, is deleted after every test.
This commit is contained in:
Jon Dufresne 2019-02-05 05:14:23 -08:00 committed by Tim Graham
parent 680cc417d3
commit 1e280f031e
1 changed files with 3 additions and 6 deletions

View File

@ -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: