X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fbase_test.py;h=a281f3d10b8d384cb29eae6c43ce3c83cd957093;hb=4830d9be143c7645ea932b53fae095e275ad7814;hp=dc606cc7feb8cca9ed6b259db65c84a2007f257b;hpb=504a32446cc5263a934aa815494356a7c38b4b13;p=dak.git diff --git a/tests/base_test.py b/tests/base_test.py index dc606cc7..a281f3d1 100644 --- a/tests/base_test.py +++ b/tests/base_test.py @@ -7,21 +7,6 @@ from os.path import abspath, dirname, join DAK_ROOT_DIR = dirname(dirname(abspath(__file__))) -# suppress some deprecation warnings in squeeze related to apt_pkg, -# debian, and md5 modules -warnings.filterwarnings('ignore', \ - "Attribute '.*' of the 'apt_pkg\.Configuration' object is deprecated, use '.*' instead\.", \ - DeprecationWarning) -warnings.filterwarnings('ignore', \ - "apt_pkg\.newConfiguration\(\) is deprecated\. Use apt_pkg\.Configuration\(\) instead\.", \ - DeprecationWarning) -warnings.filterwarnings('ignore', \ - "please use 'debian' instead of 'debian_bundle'", \ - DeprecationWarning) -warnings.filterwarnings('ignore', \ - "the md5 module is deprecated; use hashlib instead", \ - DeprecationWarning) - class DakTestCase(unittest.TestCase): def setUp(self): pass