From 576483085c7357130afba7f605db431df255ec74 Mon Sep 17 00:00:00 2001 From: R David Murray Date: Thu, 24 Mar 2011 14:57:05 -0400 Subject: #11093: make NOTTESTS empty by renaming confusingly named files in test dir. Patch by Sandro Tosi. --- Lib/test/future_test1.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Lib/test/future_test1.py (limited to 'Lib/test/future_test1.py') diff --git a/Lib/test/future_test1.py b/Lib/test/future_test1.py new file mode 100644 index 0000000000..297c2e087c --- /dev/null +++ b/Lib/test/future_test1.py @@ -0,0 +1,11 @@ +"""This is a test""" + +# Import the name nested_scopes twice to trigger SF bug #407394 (regression). +from __future__ import nested_scopes, nested_scopes + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) -- cgit v1.2.1