Skip to content

Commit 094f0f8

Browse files
committed
Fix typo in a test forwardref
1 parent 866aef1 commit 094f0f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_annotationlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1869,7 +1869,7 @@ class A:
18691869
def one(_) -> C1:
18701870
"""One cell."""
18711871

1872-
one_f = ForwardRef("C", owner=one)
1872+
one_f = ForwardRef("C1", owner=one)
18731873
one_f_ga1 = get_annotations(one, format=Format.FORWARDREF)["return"]
18741874
one_f_ga2 = get_annotations(one, format=Format.FORWARDREF)["return"]
18751875
self.assertIsInstance(one_f_ga1.__cell__, types.CellType)

0 commit comments

Comments
 (0)