Commit 99202210 authored by Reinout van Rees's avatar Reinout van Rees

Adjusted doctest to code change

- Adjusted the now-clearer error.
- Removed error log message as that's now in the actual error message
parent 1a91bec6
...@@ -242,13 +242,11 @@ we'll get an error: ...@@ -242,13 +242,11 @@ we'll get an error:
... versions = dict(demo='0.2', demoneeded='1.0')) ... versions = dict(demo='0.2', demoneeded='1.0'))
Traceback (most recent call last): Traceback (most recent call last):
... ...
IncompatibleConstraintError: Bad constraint 0.2 demo>0.2 IncompatibleConstraintError: The requirement ('demo>0.2') is not allowed by your [versions] constraint (0.2)
>>> print_(handler) >>> print_(handler)
zc.buildout.easy_install DEBUG zc.buildout.easy_install DEBUG
Installing 'demo >0.2'. Installing 'demo >0.2'.
zc.buildout.easy_install ERROR
The constraint, 0.2, is not consistent with the requirement, 'demo>0.2'.
>>> handler.clear() >>> handler.clear()
......
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