mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 11:47:38 +02:00
Testing: Fix unclosed file open
This commit is contained in:
@@ -120,9 +120,8 @@ def test_windows_hivelist(image, volatility, python):
|
||||
|
||||
def test_windows_dumpfiles(image, volatility, python):
|
||||
|
||||
json_file = open("./test/known_files.json")
|
||||
|
||||
known_files = json.load(json_file)
|
||||
with open("./test/known_files.json") as json_file:
|
||||
known_files = json.load(json_file)
|
||||
|
||||
failed_chksms = 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user