Skip to content

Commit

Permalink
fix: black reformat for behaviors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Armando Banuelos authored and Armando Banuelos committed Mar 5, 2024
1 parent 1ab9609 commit 4d80f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenic/core/dynamics/behaviors.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _step(self):

def alarmHandler(signum, frame):
# NOTE: if using pytest-cov, sys.gettrace() set to CTracer(), but we still want timeout warnings enabled
if sys.gettrace() and 'coverage' not in str(type(sys.gettrace())):
if sys.gettrace() and "coverage" not in str(type(sys.gettrace())):
return # skip the warning if we're in the debugger
warnings.warn(
f"the behavior {self} is taking a long time to take an action; "
Expand Down

0 comments on commit 4d80f0b

Please sign in to comment.