aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2011-08-03 21:10:53 +0200
committerMichał Górny <gentoo@mgorny.alt.pl>2011-08-03 21:10:53 +0200
commita82bd3527ee5d3abf3a2aa451e859fd07ff1c8cb (patch)
tree436ec4dbfe70ec211db9a79a8f0e845622d39070 /pmstestsuite/library
parentMigrate the variable scope test to use assertions. (diff)
downloadpms-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.py3
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()