Skip to content

Commit 6b71c99

Browse files
committed
Streamline test code
THere was a dangling JSON file loaded for no reason Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent cec17e7 commit 6b71c99

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test_archive.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,10 +393,7 @@ def test_extract_targz_with_mixed_case_and_symlink(self):
393393
test_dir = self.get_temp_dir()
394394
result = archive.extract_tar(test_file, test_dir)
395395
assert [] == result
396-
import json
397396
exp_file = self.get_test_loc('archive/tgz/mixed_case_and_symlink.tgz.expected.json')
398-
with open(exp_file) as ef:
399-
expected_files = json.load(ef)
400397
check_files(test_dir, exp_file, regen=False)
401398

402399
def test_extract_targz_symlinks(self):

0 commit comments

Comments
 (0)