summaryrefslogtreecommitdiffstats
path: root/Lib/test/badsyntax_future10.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-16 16:15:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-16 16:15:47 (GMT)
commit2d6acd2ac2399ecc0f163c12c5695f434ba14955 (patch)
tree0f49c3803c6c58b3ff149e231f81d43ea230a903 /Lib/test/badsyntax_future10.py
parent694bafa04ed7af12c86ca28217d143ab74428b2f (diff)
downloadcpython-2d6acd2ac2399ecc0f163c12c5695f434ba14955.zip
cpython-2d6acd2ac2399ecc0f163c12c5695f434ba14955.tar.gz
cpython-2d6acd2ac2399ecc0f163c12c5695f434ba14955.tar.bz2
reject non-docs strings between future imports (closes #17434)
Diffstat (limited to 'Lib/test/badsyntax_future10.py')
-rw-r--r--Lib/test/badsyntax_future10.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/badsyntax_future10.py b/Lib/test/badsyntax_future10.py
new file mode 100644
index 0000000..fa5ab67
--- /dev/null
+++ b/Lib/test/badsyntax_future10.py
@@ -0,0 +1,3 @@
+from __future__ import absolute_import
+"spam, bar, blah"
+from __future__ import print_function