mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 11:07:53 -08:00
tests/fixtures.py: return direct extractor with no intermediate variable
Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
This commit is contained in:
@@ -193,8 +193,7 @@ def get_cape_extractor(path):
|
||||
report = report_file.read()
|
||||
report = json.loads(report)
|
||||
|
||||
extractor = CapeExtractor.from_report(report)
|
||||
return extractor
|
||||
return CapeExtractor.from_report(report)
|
||||
|
||||
|
||||
def extract_global_features(extractor):
|
||||
|
||||
Reference in New Issue
Block a user