summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/smoke001.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/smoke001.py')
-rw-r--r--test/pacman/tests/smoke001.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pacman/tests/smoke001.py b/test/pacman/tests/smoke001.py
index 16576b75..ccc9db48 100644
--- a/test/pacman/tests/smoke001.py
+++ b/test/pacman/tests/smoke001.py
@@ -4,7 +4,7 @@ p = pmpkg("pkg1000")
self.addpkg2db("local", p)
-for i in xrange(1000):
+for i in range(1000):
p = pmpkg("pkg%03d" % i)
p.depends = ["pkg%03d" % (i+1)]
p.files = ["usr/share/pkg%03d" % i]
@@ -14,7 +14,7 @@ pkglist = [p.filename() for p in self.localpkgs]
self.args = "-U %s" % " ".join(pkglist)
self.addrule("PACMAN_RETCODE=0")
-#for i in xrange(1000):
+#for i in range(1000):
# self.addrule("PKG_EXIST=pkg%03d" %i)
# picked 3 random packages to test for, since the loop is too much to handle
self.addrule("PKG_EXIST=pkg050")