diff --git a/terminatorlib/tests/test_doctests.py b/terminatorlib/tests/test_doctests.py index 86898eaa..fd964210 100644 --- a/terminatorlib/tests/test_doctests.py +++ b/terminatorlib/tests/test_doctests.py @@ -10,6 +10,7 @@ def test_suite(): 'testborg', 'cwd', 'factory', + 'util', ): suite.addTest(DocTestSuite('terminatorlib.' + name)) return suite diff --git a/terminatorlib/util.py b/terminatorlib/util.py index ad712b38..143bc6f8 100755 --- a/terminatorlib/util.py +++ b/terminatorlib/util.py @@ -14,7 +14,14 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -"""Terminator.util - misc utility functions""" +"""Terminator.util - misc utility functions + +>>> a = {'foo': 'bar', 'baz': 'bjonk'} +>>> b = {'foo': 'far', 'baz': 'bjonk'} +>>> dict_diff(a, b) +{'foo': 'far'} + +""" import sys import gtk