aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndré Erdmann <dywi@mailerd.de>2013-07-03 11:58:37 +0200
committerAndré Erdmann <dywi@mailerd.de>2013-07-03 11:58:37 +0200
commitf13b18e412444c9ccd6824f16d4165c4c92a2447 (patch)
tree8e5da579eb91920fbdfced849d6832c3bccf7a19 /tests
parentdoc/html: SLOT handling (diff)
downloadR_overlay-f13b18e412444c9ccd6824f16d4165c4c92a2447.tar.gz
R_overlay-f13b18e412444c9ccd6824f16d4165c4c92a2447.tar.bz2
R_overlay-f13b18e412444c9ccd6824f16d4165c4c92a2447.zip
tests/depres: properly handle ignore dep strings
Diffstat (limited to 'tests')
-rw-r--r--tests/depres.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/depres.py b/tests/depres.py
index 9be82a3..a85af56 100644
--- a/tests/depres.py
+++ b/tests/depres.py
@@ -53,7 +53,8 @@ class DepresTestCase ( tests.interface.RoverlayInterfaceTestCase ):
# --- end of tearDown (...) ---
def do_depres_test ( self, rule_names, test_data ):
- unpacked = lambda T: T[0] if T and len ( T ) == 1 else T
+ unpacked = lambda T: \
+ ( "" if T[0] is None else T[0] ) if T and len ( T ) == 1 else T
self.depres.compile_rules()
self.tearDown()