Skip to content

Commit 6555cfd

Browse files
Update conformance/tests/annotations_forward_refs.py
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
1 parent 3269d07 commit 6555cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conformance/tests/annotations_forward_refs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ClassA:
3838
# The following should all generate errors because they are not legal type
3939
# expressions, despite being enclosed in quotes.
4040
def invalid_annotations(
41-
p1: "eval(' '.join(map(chr, [105, 110, 116])))", # E
41+
p1: "eval(''.join(map(chr, [105, 110, 116])))", # E
4242
p2: "[int, str]", # E
4343
p3: "(int, str)", # E
4444
p4: "[int for i in range(1)]", # E

0 commit comments

Comments
 (0)