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/plugin.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libbe/plugin.py') diff --git a/libbe/plugin.py b/libbe/plugin.py index bd9bb65..e6b06fb 100644 --- a/libbe/plugin.py +++ b/libbe/plugin.py @@ -69,10 +69,3 @@ if plugin_path not in sys.path: sys.path.append(plugin_path) suite = doctest.DocTestSuite() - -def _test(): - import doctest - doctest.testmod() - -if __name__ == "__main__": - _test() -- cgit