Skip to content

Commit 0eeed8d

Browse files
Remove syntax error from shared code
1 parent 941c04b commit 0eeed8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testdata/python3/data/module.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def method(self):
5959
return 'hehe'
6060
global_access(local, val=autre)
6161
finally:
62-
return local
62+
print(local)
63+
# Became a syntax error in 3.14 and is used in 188/1464 tests
64+
# return local
6365

6466
def static_method():
6567
"""static method test"""

0 commit comments

Comments
 (0)