From f13b18e412444c9ccd6824f16d4165c4c92a2447 Mon Sep 17 00:00:00 2001 From: André Erdmann Date: Wed, 3 Jul 2013 11:58:37 +0200 Subject: tests/depres: properly handle ignore dep strings --- tests/depres.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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() -- cgit v1.2.3-65-gdbad