aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_tests.py')
-rwxr-xr-xrun_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index f8d6aa2..b23776c 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -58,7 +58,7 @@ class AutoDeletedDir():
shutil.rmtree(self.dir)
return
except OSError:
- if i == retries:
+ if i == retries-1:
raise
passing_tests = 0