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__", {})