diff options
author | André Erdmann <dywi@mailerd.de> | 2013-07-03 11:58:37 +0200 |
---|---|---|
committer | André Erdmann <dywi@mailerd.de> | 2013-07-03 11:58:37 +0200 |
commit | f13b18e412444c9ccd6824f16d4165c4c92a2447 (patch) | |
tree | 8e5da579eb91920fbdfced849d6832c3bccf7a19 /tests | |
parent | doc/html: SLOT handling (diff) | |
download | R_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.py | 3 |
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() |