Skip to content

Commit c97d65a

Browse files
committed
report dict instead of defaultdict
1 parent 9390b0d commit c97d65a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hypothesis-python/src/hypothesis/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,7 @@ def run_engine(self):
13421342
"coverage": None, # Not recorded when we're replaying the MFE
13431343
"metadata": {
13441344
"traceback": tb,
1345-
"predicates": ran_example._observability_predicates,
1345+
"predicates": dict(ran_example._observability_predicates),
13461346
**_system_metadata(),
13471347
},
13481348
}

hypothesis-python/src/hypothesis/internal/observability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def make_testcase(
7474
"timing": timing,
7575
"metadata": {
7676
"traceback": getattr(data.extra_information, "_expected_traceback", None),
77-
"predicates": data._observability_predicates,
77+
"predicates": dict(data._observability_predicates),
7878
"backend": backend_metadata or {},
7979
**_system_metadata(),
8080
},

0 commit comments

Comments
 (0)