aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/command_wrappers.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-08-22 14:02:47 +0200
committerGuido Günther <agx@sigxcpu.org>2009-08-22 14:26:48 +0200
commit29cacc0286b1bd0af964fea71a889f44525f838f (patch)
treeb250db2473945fb491307b9fe1a26c6c7a92ac78 /gbp/command_wrappers.py
parent4f82dfb563926b7a145e093471b7ccedcae39145 (diff)
run doctests with nose
Diffstat (limited to 'gbp/command_wrappers.py')
-rw-r--r--gbp/command_wrappers.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/gbp/command_wrappers.py b/gbp/command_wrappers.py
index 8cfa7cb9..8f6f7fe4 100644
--- a/gbp/command_wrappers.py
+++ b/gbp/command_wrappers.py
@@ -301,12 +301,4 @@ def copy_from(orig_dir, filters=[]):
raise GbpError, "Cannot copy files, pipe failed."
return [ os.path.normpath(f) for f in files if files ]
-
-def _test():
- import doctest
- doctest.testmod()
-
-if __name__ == '__main__':
- _test()
-
# vim:et:ts=4:sw=4:et:sts=4:ai:set list listchars=tab\:»·,trail\:·: