diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-05 09:09:57 +0000 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-08-05 09:09:57 +0000 |
| commit | f3899ebe6f019defa87ceb10f704bccd64948d30 (patch) | |
| tree | e289cf181cb652cf54cb4087f5e57aefc8953671 /tests/apt-test.py | |
| parent | 2df9d3b54b997286da17564c17a46b5a444eda8b (diff) | |
| download | python-apt-f3899ebe6f019defa87ceb10f704bccd64948d30.tar.gz | |
* FutureWarning is added, example how to filter it away too. README.apt added
Diffstat (limited to 'tests/apt-test.py')
| -rw-r--r-- | tests/apt-test.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
