summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-09-05 16:07:10 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-09-05 16:28:32 -0400
commit583287259fbb6d143696b418756ed68e6110cd2d (patch)
tree693f55e12fdb01c9cce54ca8bd27a9ed737e737d
parent356d6659b17d199c1a5ecc4241e7ee3edc6a754e (diff)
downloadsqlalchemy-583287259fbb6d143696b418756ed68e6110cd2d.tar.gz
- delete the file first here so this is deterministic
-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)