diff -r 46c0ca1ef7e1 -r ed46c2b98b0d tests/test-dicthelpers.py --- a/tests/test-dicthelpers.py Tue Apr 09 09:40:40 2013 -0700 +++ b/tests/test-dicthelpers.py Wed Apr 10 12:31:07 2013 -0700 @@ -49,5 +49,11 @@ 'c': ('baz', 456), 'd': (456, 'quux')}) + # check that we compare against default + self.assertEqual(diff(d1, d2, 'baz'), {'a': ('foo', 'foo2'), + 'd': ('baz', 'quux')}) + self.assertEqual(diff(d1, d2, 'quux'), {'a': ('foo', 'foo2'), + 'c': ('baz', 'quux')}) + if __name__ == '__main__': silenttestrunner.main(__name__)