diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-03-24 14:57:05 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-03-24 14:57:05 -0400 |
commit | 576483085c7357130afba7f605db431df255ec74 (patch) | |
tree | ca4f7809d7476088594b9336bce372463ba164c7 /Lib/test/future_test2.py | |
parent | b588f8dd9fcd4881659b1037f92e433d3fb6c29c (diff) | |
download | cpython-git-576483085c7357130afba7f605db431df255ec74.tar.gz |
#11093: make NOTTESTS empty by renaming confusingly named files in test dir.
Patch by Sandro Tosi.
Diffstat (limited to 'Lib/test/future_test2.py')
-rw-r--r-- | Lib/test/future_test2.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/future_test2.py b/Lib/test/future_test2.py new file mode 100644 index 0000000000..3d7fc860a3 --- /dev/null +++ b/Lib/test/future_test2.py @@ -0,0 +1,10 @@ +"""This is a test""" + +from __future__ import nested_scopes; import site + +def f(x): + def g(y): + return x + y + return g + +result = f(2)(4) |