Skip to content

Commit

Permalink
Omit including timer in coverage (testing timeout is very slow)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-cal committed Jun 25, 2021
1 parent db71c6c commit d7baf00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
omit =
macq/generate/pddl/planning_domains_api.py
macq/utils/complex_encoder.py
macq/utils/timer.py

8 changes: 0 additions & 8 deletions macq/utils/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,3 @@ def __init__(
+ "MAX_TIME can be changed through macq.utils.timer.MAX_TIME.",
):
super().__init__(message)


if __name__ == "__main__":
# exit out to the base macq folder so we can get to /tests
from pathlib import Path
from macq.generate.pddl import VanillaSampling

vanilla = VanillaSampling(problem_id=123, plan_len=20, num_traces=100)

0 comments on commit d7baf00

Please sign in to comment.