diff options
author | Devan Franchini <twitch153@gentoo.org> | 2014-10-17 23:00:42 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2014-10-17 23:00:42 -0400 |
commit | 78b27932cc4916696bb436b7670fa38ac2671751 (patch) | |
tree | 46e19ccd076c96531a3f8b5da8961f43dc56c48f /layman/dbbase.py | |
parent | version.py: Updates version to 2.2.1-git (diff) | |
download | layman-78b27932cc4916696bb436b7670fa38ac2671751.tar.gz layman-78b27932cc4916696bb436b7670fa38ac2671751.tar.bz2 layman-78b27932cc4916696bb436b7670fa38ac2671751.zip |
Removes doctest remnants
Diffstat (limited to 'layman/dbbase.py')
-rw-r--r-- | layman/dbbase.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/layman/dbbase.py b/layman/dbbase.py index a106af4..aff48b8 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -252,21 +252,3 @@ class DbBase(object): """returns a list of the overlay names """ return sorted(self.overlays) - - -#=============================================================================== -# -# Testing -# -#------------------------------------------------------------------------------- - -if __name__ == '__main__': - import doctest - - # Ignore warnings here. We are just testing - from warnings import filterwarnings, resetwarnings - filterwarnings('ignore') - - doctest.testmod(sys.modules[__name__]) - - resetwarnings() |