Add test case to cover multiple future statements on separate lines of

a module.
This commit is contained in:
Jeremy Hylton 2001-08-20 21:18:56 +00:00
parent 8471a35feb
commit 18da1e1e7f
1 changed files with 11 additions and 0 deletions

11
Lib/test/test_future3.py Normal file
View File

@ -0,0 +1,11 @@
from __future__ import nested_scopes
from __future__ import division
from __future__ import nested_scopes
def f(x):
def g(y):
return y // x
return g
print f(2)(5)