From 251ef9666e44792a71c5f1cb83c5b1f3b110a46f Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Tue, 30 Jan 2001 01:26:53 +0000 Subject: Fix test for free ref to global. This test should have caught a recently fixed bug, but it checked for the wrong answer. --- Lib/test/test_scope.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index c566301..8be3f61 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py @@ -86,7 +86,7 @@ def make_adder6(x): inc = make_adder6(1) plus10 = make_adder6(10) -verify(inc(1) == 2) +verify(inc(1) == 11) # there's only one global verify(plus10(-2) == 8) print "7. nearest enclosing scope" -- cgit v0.12