summaryrefslogtreecommitdiff
path: root/tests/old/refcount.py
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-31 23:25:13 +0100
committerMichael Vogt <mvo@debian.org>2014-01-05 20:04:30 +0100
commit3bf9c3fe4d19ed4d985dc8b7747a737699f46a7e (patch)
tree75ad948c351605fd7ac50b176f1149c4e2a513e4 /tests/old/refcount.py
parente3c26754af1891d2c50993730467fc9335ec5f09 (diff)
downloadpython-apt-3bf9c3fe4d19ed4d985dc8b7747a737699f46a7e.tar.gz
make test_pep8.py pass
Diffstat (limited to 'tests/old/refcount.py')
-rwxr-xr-xtests/old/refcount.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/old/refcount.py b/tests/old/refcount.py
index a80595c9..70adc0c1 100755
--- a/tests/old/refcount.py
+++ b/tests/old/refcount.py
@@ -1,14 +1,13 @@
#!/usr/bin/python-dbg
-from pprint import pprint, pformat
+from pprint import pprint
import apt
import sys
import gc
-import difflib
# get initial cache
print sys.gettotalrefcount()
-progress= apt.progress.OpTextProgress()
+progress = apt.progress.OpTextProgress()
c = apt.Cache(progress)
print "refcount after first cache instance: ", sys.gettotalrefcount()