diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-06 10:35:57 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-06 10:35:57 +0200 |
| commit | e94861e437dc544da9bf4a0161a25dedafd93f34 (patch) | |
| tree | 96fa478e75636b8842a95b3fe849029076b58e5d /tests/test_progress.py | |
| parent | 12ba28e618916bdb418d7e0ed2c8e368ead7e625 (diff) | |
| download | python-apt-e94861e437dc544da9bf4a0161a25dedafd93f34.tar.gz | |
* python/progress.cc:
- deal with missing return value from the acquire progress in pulse()
Diffstat (limited to 'tests/test_progress.py')
| -rw-r--r-- | tests/test_progress.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_progress.py b/tests/test_progress.py index 2ab8ce5e..ffab5bc0 100644 --- a/tests/test_progress.py +++ b/tests/test_progress.py @@ -15,6 +15,9 @@ import os class TestAcquireProgress(apt.progress.base.AcquireProgress): def pulse(self, owner): self.pulsed = True + # there should be a return value here, either (True,False) + # but often this is forgoten (and causes odd error messages) + # so the lib supports it. we test the lack of support value here class TestProgress(unittest.TestCase): |
