We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 275622b commit b63447cCopy full SHA for b63447c
1 file changed
unittests/tools/test_npm_audit_7_plus_parser.py
@@ -42,7 +42,7 @@ def test_npm_audit_7_plus_parser_with_many_vuln_has_many_findings(self):
42
self.assertEqual("@vercel/fun", finding.title)
43
44
def test_npm_audit_7_plus_parser_issue_10801(self):
45
- testfile = open(path.join(path.dirname(__file__), "../scans/npm_audit_7_plus/issue_10801.json"))
+ testfile = open(path.join(path.dirname(__file__), "../scans/npm_audit_7_plus/issue_10801.json"), encoding="utf-8")
46
parser = NpmAudit7PlusParser()
47
findings = parser.get_findings(testfile, Test())
48
testfile.close()
0 commit comments