Skip to content

Commit

Permalink
Describe observability semantics more precisely
Browse files Browse the repository at this point in the history
  • Loading branch information
jobh committed May 10, 2024
1 parent 42761fd commit 610138b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hypothesis-python/docs/schema_observations.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"timing": {
"type": "object",
"description": "The time in seconds taken by non-overlapping parts of this test case. Hypothesis reports execute:test, and generate:{argname} for each argument.",
"description": "The time in seconds taken by non-overlapping parts of this test case. Hypothesis reports execute:test, overall:gc, and generate:{argname} for each argument.",
"additionalProperties": {
"type": "number",
"minimum": 0
Expand Down Expand Up @@ -98,4 +98,4 @@
"additionalProperties": false
}
]
}
}
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ def test(*args, **kwargs):
)
self._timing_features = {
"execute:test": runtime.total_seconds(),
"execute:gc": in_gctime,
"overall:gc": in_gctime,
**data.draw_times,
**data._stateful_run_times,
}
Expand Down

0 comments on commit 610138b

Please sign in to comment.