diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cmdline/cmd_showbc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmdline/cmd_showbc.py b/tests/cmdline/cmd_showbc.py index 6e99fc418..916228356 100644 --- a/tests/cmdline/cmd_showbc.py +++ b/tests/cmdline/cmd_showbc.py @@ -108,7 +108,7 @@ def f(): # closed over variables x = 1 def closure(): - a = x + 1 + nonlocal x; a = x + 1 x = 1 del x |