Commit 44046ba2 authored by Jim Fulton's avatar Jim Fulton

another test passing w 3.2

parent 1c4772b1
...@@ -131,9 +131,8 @@ the egg: ...@@ -131,9 +131,8 @@ the egg:
... ...
... """ % dict(server=link_server)) ... """ % dict(server=link_server))
>>> print_(system(buildout), end='') >>> print_(system(buildout), end='') # doctest: +ELLIPSIS
Installing extdemo. Installing extdemo...
zip_safe flag not set; analyzing archive contents...
We got the zip_safe warning because the source distribution we used We got the zip_safe warning because the source distribution we used
wasn't setuptools based and thus didn't set the option. wasn't setuptools based and thus didn't set the option.
...@@ -158,7 +157,7 @@ Let's define a script that uses out ext demo: ...@@ -158,7 +157,7 @@ Let's define a script that uses out ext demo:
... """ ... """
... import extdemo, sys ... import extdemo, sys
... def print_(*args): ... def print_(*args):
... sys.stdout.write(' '.join(map(str, args)) + '\n') ... sys.stdout.write(' '.join(map(str, args)) + '\\n')
... def main(): ... def main():
... print_(extdemo.val) ... print_(extdemo.val)
... """) ... """)
......
...@@ -85,6 +85,13 @@ def test_suite(): ...@@ -85,6 +85,13 @@ def test_suite():
'\\1V.V.egg'), '\\1V.V.egg'),
(re.compile('extdemo.c\n.+\\extdemo.exp\n'), ''), (re.compile('extdemo.c\n.+\\extdemo.exp\n'), ''),
(re.compile('extdemo[.]pyd'), 'extdemo.so'), (re.compile('extdemo[.]pyd'), 'extdemo.so'),
(re.compile(
r'zip_safe flag not set; analyzing archive contents.*\n'),
''),
(re.compile(
r'\n.*module references __file__'),
''),
(re.compile(''), ''),
(re.compile( (re.compile(
"extdemo[.]c\n" "extdemo[.]c\n"
"extdemo[.]obj : warning LNK4197: " "extdemo[.]obj : warning LNK4197: "
......
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