summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-08-20 20:33:42 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-08-20 20:33:42 (GMT)
commit8471a35febdbfbfab51b9d4b5fe51694fe6ca536 (patch)
tree133cebe6f1f3f40b7ed5e0359b376a11c24118c6 /Lib/test/test_future.py
parent1e35ce58e8e1d8c4ac9c54c1422dc5827bb47124 (diff)
downloadcpython-8471a35febdbfbfab51b9d4b5fe51694fe6ca536.zip
cpython-8471a35febdbfbfab51b9d4b5fe51694fe6ca536.tar.gz
cpython-8471a35febdbfbfab51b9d4b5fe51694fe6ca536.tar.bz2
Fix SF bug [ #450245 ] Error in parsing future stmts
Add test case to cover multiple future statements on separate lines of a module.
Diffstat (limited to 'Lib/test/test_future.py')
-rw-r--r--Lib/test/test_future.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py
index ba0763b..764584c 100644
--- a/Lib/test/test_future.py
+++ b/Lib/test/test_future.py
@@ -17,6 +17,9 @@ import test_future1
unload('test_future2')
import test_future2
+unload('test_future3')
+import test_future3
+
# The remaining tests should fail
try:
import badsyntax_future3