diff options
author | Michał Górny <gentoo@mgorny.alt.pl> | 2011-08-03 21:10:53 +0200 |
---|---|---|
committer | Michał Górny <gentoo@mgorny.alt.pl> | 2011-08-03 21:10:53 +0200 |
commit | a82bd3527ee5d3abf3a2aa451e859fd07ff1c8cb (patch) | |
tree | 436ec4dbfe70ec211db9a79a8f0e845622d39070 /pmstestsuite/library | |
parent | Migrate the variable scope test to use assertions. (diff) | |
download | pms-test-suite-a82bd3527ee5d3abf3a2aa451e859fd07ff1c8cb.tar.gz pms-test-suite-a82bd3527ee5d3abf3a2aa451e859fd07ff1c8cb.tar.bz2 pms-test-suite-a82bd3527ee5d3abf3a2aa451e859fd07ff1c8cb.zip |
Add __repr__() for DepMatcher.
Diffstat (limited to 'pmstestsuite/library')
-rw-r--r-- | pmstestsuite/library/standard/special_vars.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pmstestsuite/library/standard/special_vars.py b/pmstestsuite/library/standard/special_vars.py index 2502691..845d698 100644 --- a/pmstestsuite/library/standard/special_vars.py +++ b/pmstestsuite/library/standard/special_vars.py @@ -38,6 +38,9 @@ class RDependFallbackTest(DBusEbuildTestCase): def __str__(self): return 'virtual/libc' + def __repr__(self): + return repr(str(self)) + rdep = pm.installed[self.atom(pm)].run_dependencies mydep = DepMatcher() |