Skip to content

Commit

Permalink
Update update_test_outputs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyanjun committed Mar 10, 2024
1 parent 635f9e9 commit e8f74bc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/test_command_line/update_test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
need to be manually edited to account for variance between runs.
"""


from helpers import run_command_and_get_result
from test_attack import attack_test_params
from test_augment import augment_test_params
Expand All @@ -29,8 +28,6 @@ def update_test(command, outfile, add_magic_str=False):
open(outfile, "w").write(stdout + "\n")




def main():
#### `textattack attack` tests ####
for _, command, outfile in attack_test_params:
Expand All @@ -43,7 +40,5 @@ def main():
update_test(command, outfile)




if __name__ == "__main__":
main()

0 comments on commit e8f74bc

Please sign in to comment.