diff options
author | W. Trevor King <wking@tremily.us> | 2012-11-11 21:32:27 -0500 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-11-11 21:32:27 -0500 |
commit | da15ffa5a762cbfa16c02dd56819f27d09f221db (patch) | |
tree | a76d97ed525cc4683b401899853607e0734af8f5 /pym | |
parent | helpers: update entry counts and version range in ChangeLog doctest (diff) | |
download | gentoolkit-da15ffa5a762cbfa16c02dd56819f27d09f221db.tar.gz gentoolkit-da15ffa5a762cbfa16c02dd56819f27d09f221db.tar.bz2 gentoolkit-da15ffa5a762cbfa16c02dd56819f27d09f221db.zip |
dependencies: update Dependencies doctest to use portage-9999
Diffstat (limited to 'pym')
-rw-r--r-- | pym/gentoolkit/dependencies.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pym/gentoolkit/dependencies.py b/pym/gentoolkit/dependencies.py index 84e3672..726d546 100644 --- a/pym/gentoolkit/dependencies.py +++ b/pym/gentoolkit/dependencies.py @@ -31,12 +31,14 @@ class Dependencies(Query): Example usage: >>> from gentoolkit.dependencies import Dependencies - >>> portage = Dependencies('sys-apps/portage-2.1.6.13') + >>> portage = Dependencies('sys-apps/portage-9999') >>> portage - <Dependencies 'sys-apps/portage-2.1.6.13'> + <Dependencies 'sys-apps/portage-9999'> >>> # All methods return gentoolkit.atom.Atom instances ... portage.get_depend() - [<Atom '>=dev-lang/python-2.5'>, <Atom '<dev-lang/python-3.0'>, ...] + ... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE + [<Atom 'python3? =dev-lang/python-3*'>, + <Atom '!python3? >=dev-lang/python-2.7'>, ...] """ def __init__(self, query, parser=None): |