Commit 2eefee6e authored by Reinout van Rees's avatar Reinout van Rees

Added test for multiple imports in distutils script.

This exposes a bug.
parent d503d880
......@@ -977,6 +977,7 @@ like for the console_scripts.
]
<BLANKLINE>
<BLANKLINE>
import os
import sys; sys.stdout.write("distutils!\n")
Note that there are several items that need to come first in such a script
......
......@@ -2947,6 +2947,7 @@ def create_sample_eggs(test, executable=sys.executable):
'# -*- coding: utf-8 -*-\n'
'"""Module docstring."""\n'
'from __future__ import print_statement\n'
'import os\n'
'import sys; sys.stdout.write("distutils!\\n")\n'
)
write(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment