Commit 35b1332d authored by jim's avatar jim

Tweaks to deal with output differences between windows and unix.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@76853 62d5b8a3-27da-0310-9561-8e5933582275
parent 1f0f0a4c
......@@ -526,9 +526,9 @@ We'll start by creating a faux 'python' that executable that prints a
>>> import zc.buildout.easy_install
>>> ws = zc.buildout.easy_install.working_set(
... ['demo'], sys.executable, ['develop-eggs'])
>>> zc.buildout.easy_install.scripts(
... ['demo'], ws, sys.executable, 'bin')
['bin/demo']
>>> bool(zc.buildout.easy_install.scripts(
... ['demo'], ws, sys.executable, 'bin'))
True
>>> print system(join('bin', 'demo')),
Python 2.5
......@@ -1789,7 +1789,7 @@ if sys.version_info > (2, 4):
... parts = x
... ''')
>>> call(buildout)
>>> call(buildout) # doctest: +NORMALIZE_WHITESPACE
While:
Installing.
Getting section x.
......@@ -1819,7 +1819,7 @@ if sys.version_info > (2, 4):
... recipe = zc.buildout.testexit
... ''')
>>> call(buildout)
>>> call(buildout) # doctest: +NORMALIZE_WHITESPACE
Develop: '/sample-buildout/.'
While:
Installing.
......@@ -2280,7 +2280,7 @@ def test_suite():
'Picked: \\1 = V.V'),
(re.compile(r'We have a develop egg: zc.buildout (\S+)'),
'We have a develop egg: zc.buildout X.X.'),
(re.compile(r'\\[\\]?'), '/'),
])
),
doctest.DocFileSuite(
......@@ -2346,7 +2346,7 @@ def test_suite():
r'We have a develop egg: \1 V'),
(re.compile('Picked: setuptools = \S+'),
'Picked: setuptools = V'),
(re.compile(r'\\[\\]?'), '/'),
]),
),
))
......
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