diff --git a/Misc/NEWS.d/next/Tests/2024-11-12-21-41-57.gh-issue-58749.LuzORa.rst b/Misc/NEWS.d/next/Tests/2024-11-12-21-41-57.gh-issue-58749.LuzORa.rst new file mode 100644 index 00000000000..3feef9fe6d0 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2024-11-12-21-41-57.gh-issue-58749.LuzORa.rst @@ -0,0 +1,5 @@ +Added tests to verify that `global` and `nonlocal` statement names are only +restricted from use or assignment before their declaration, aligning with +the updated language specification and CPython's behavior. The tests also +ensure that `global` and `nonlocal` statements exhibit correct behavior. +Change by Beomsoo Kim.