From f3899ebe6f019defa87ceb10f704bccd64948d30 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 5 Aug 2005 09:09:57 +0000 Subject: * FutureWarning is added, example how to filter it away too. README.apt added --- tests/apt-test.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/apt-test.py b/tests/apt-test.py index 03fa12eb..f1bc5593 100644 --- a/tests/apt-test.py +++ b/tests/apt-test.py @@ -1,5 +1,8 @@ +import warnings +warnings.filterwarnings("ignore", "apt API not stable yet", FutureWarning) import apt + if __name__ == "__main__": progress = apt.progress.OpTextProgress() cache = apt.Cache(progress) -- cgit v1.2.3