summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/perf/orm2010.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/perf/orm2010.py b/test/perf/orm2010.py
index 8036ac268..633315f24 100644
--- a/test/perf/orm2010.py
+++ b/test/perf/orm2010.py
@@ -126,6 +126,9 @@ def run_with_profile(runsnake=False, dump=False):
import pstats
filename = "orm2010.profile"
+ if os.path.exists("orm2010.profile"):
+ os.remove("orm2010.profile")
+
def status(msg):
print(msg)