From: Mike Bayer Date: Fri, 5 Sep 2014 20:07:10 +0000 (-0400) Subject: - delete the file first here so this is deterministic X-Git-Tag: rel_1_0_0b1~196^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=583287259fbb6d143696b418756ed68e6110cd2d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - delete the file first here so this is deterministic --- diff --git a/test/perf/orm2010.py b/test/perf/orm2010.py index 8036ac268a..633315f244 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)