From e84df95bf2f8eda776d34ae7a3eaf8f03ffda4c1 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom Date: Thu, 5 Dec 2024 20:01:33 -0500 Subject: [PATCH] add dir --- tests/test_pytypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pytypes.py b/tests/test_pytypes.py index 6d9f1e28b..8545fac5c 100644 --- a/tests/test_pytypes.py +++ b/tests/test_pytypes.py @@ -1105,6 +1105,7 @@ def test_dict_ranges(tested_dict, expected): # https://docs.python.org/3/howto/annotations.html#accessing-the-annotations-dict-of-an-object-in-python-3-9-and-older def get_annotations_helper(o): + dir(o) if isinstance(o, type): return o.__dict__.get("__annotations__", {}) return getattr(o, "__annotations__", {})