class_docstr: Raised when an individual test body has taken too long to run.
class_docstr_tok: ["Raised","when","an","individual","test","body","has","taken","too","long","to","run","."]
code: def __init__(self, runtime, deadline):
      super(DeadlineExceeded, self).__init__(
          "Test took %.2fms, which exceeds the deadline of %.2fms"
          % (
              runtime.total_seconds() * 1000,
              deadline.total_seconds() * 1000,
          )
      )
      self.runtime = runtime
      self.deadline = deadline
  
imports: from __future__ import absolute_import, division, print_function
label_desc: Use image node_id 1 to create a new DeadlineExceeded object from inherited base classes: HypothesisException with example: obj = DeadlineExceeded(runtime, deadline)