From dc5ac53feb42841c48fe0a17a699aa96f5bb39c8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 3 Dec 2009 20:16:56 -0500 Subject: Remove _test() functions from plugin.py and cmdutil.py. Testing should be handled through test.py, not by calling per-module _test() functions. --- libbe/cmdutil.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libbe/cmdutil.py') diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index e37750d..78645ab 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -293,12 +293,4 @@ def bug_comment_from_id(bdir, id): raise UserError(e.message) return (bug, comm) -def _test(): - import doctest - import sys - doctest.testmod() - -if __name__ == "__main__": - _test() - suite = doctest.DocTestSuite() -- cgit