We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 866aef1 commit 094f0f8Copy full SHA for 094f0f8
1 file changed
Lib/test/test_annotationlib.py
@@ -1869,7 +1869,7 @@ class A:
1869
def one(_) -> C1:
1870
"""One cell."""
1871
1872
- one_f = ForwardRef("C", owner=one)
+ one_f = ForwardRef("C1", owner=one)
1873
one_f_ga1 = get_annotations(one, format=Format.FORWARDREF)["return"]
1874
one_f_ga2 = get_annotations(one, format=Format.FORWARDREF)["return"]
1875
self.assertIsInstance(one_f_ga1.__cell__, types.CellType)
0 commit comments