]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- delete the file first here so this is deterministic
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Sep 2014 20:07:10 +0000 (16:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 5 Sep 2014 20:28:32 +0000 (16:28 -0400)
test/perf/orm2010.py

index 8036ac268a4f4e8d9930058ac82c3a4fd871a22c..633315f24436e94f80effb8287849dfd5827ebea 100644 (file)
@@ -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)