summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/smoke003.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/smoke003.py')
-rw-r--r--test/pacman/tests/smoke003.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pacman/tests/smoke003.py b/test/pacman/tests/smoke003.py
index c2460fbf..74083c7b 100644
--- a/test/pacman/tests/smoke003.py
+++ b/test/pacman/tests/smoke003.py
@@ -1,11 +1,11 @@
self.description = "Remove a thousand packages in a single transaction"
-for i in xrange(1000):
+for i in range(1000):
p = pmpkg("pkg%03dname" % i)
p.files = ["usr/share/pkg%03d/file" % i]
self.addpkg2db("local", p)
-pkglist = ["pkg%03dname" % i for i in xrange(100, 1000)]
+pkglist = ["pkg%03dname" % i for i in range(100, 1000)]
self.args = "-R %s" % " ".join(pkglist)
self.addrule("PACMAN_RETCODE=0")