Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaitre314 committed Sep 23, 2023
1 parent bfa1fa0 commit 4145779
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ def initialize_pickle_files():
# 1: S STRING 'raise RuntimeError("Injection running")'
# 44: i INST '__builtin__ exec' (MARK at 0)
# 62: . STOP
initialize_data_file(f"{_root_path}/data/malicious10.pkl", b'(S\'raise RuntimeError("Injection running")\'\ni__builtin__\nexec\n.')
initialize_data_file(
f"{_root_path}/data/malicious10.pkl",
b"(S'raise RuntimeError(\"Injection running\")'\ni__builtin__\nexec\n.",
)

initialize_data_file(f"{_root_path}/data/malicious3.pkl", malicious3_pickle_bytes)
initialize_pickle_file(f"{_root_path}/data/malicious4.pickle", Malicious4(), 4)
Expand Down

0 comments on commit 4145779

Please sign in to comment.