diff options
Diffstat (limited to 'tests/depres.py')
-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() |