From 3ee5f1a96edbc4a51704bf4cc7b11e4cd526f3f7 Mon Sep 17 00:00:00 2001 From: Liam DeVoe Date: Fri, 15 Dec 2023 23:42:46 -0500 Subject: [PATCH] nocover 3.12 branch --- hypothesis-python/src/hypothesis/internal/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypothesis-python/src/hypothesis/internal/compat.py b/hypothesis-python/src/hypothesis/internal/compat.py index 085cbd3cdf..41e8ce61d1 100644 --- a/hypothesis-python/src/hypothesis/internal/compat.py +++ b/hypothesis-python/src/hypothesis/internal/compat.py @@ -207,7 +207,7 @@ def dataclass_asdict(obj, *, dict_factory=dict): raise TypeError("asdict() should be called on dataclass instances") return _asdict_inner(obj, dict_factory) -else: +else: # pragma: no cover dataclass_asdict = dataclasses.asdict