Skip to content

Commit

Permalink
Refactor import
Browse files Browse the repository at this point in the history
  • Loading branch information
Po-Chun-Chien committed Nov 2, 2023
1 parent 61b379b commit a37525b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benchexec/tools/avr.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import benchexec.result as result
import benchexec.tools.template
from math import ceil


class Tool(benchexec.tools.template.BaseTool2):
Expand All @@ -24,8 +25,6 @@ def name(self):
return "AVR"

def cmdline(self, executable, options, task, rlimits):
from math import ceil

if rlimits.cputime and "--timeout" not in options:
options += ["--timeout", str(rlimits.cputime)]
if rlimits.memory and "--memout" not in options:
Expand Down

0 comments on commit a37525b

Please sign in to comment.