Cleaned up tests for syntax

This commit is contained in:
Veronica K. B. Olsen
2020-08-14 19:50:29 +02:00
parent 559f2e53e4
commit 77b1d50e31
9 changed files with 148 additions and 122 deletions
+2 -2
View File
@@ -5,12 +5,12 @@ import pstats
from os import path
profDir = path.abspath(path.join(path.dirname(__file__),"..","prof"))
profDir = path.abspath(path.join(path.dirname(__file__), path.pardir, "prof"))
print("")
print("Profiles directory: %s" % profDir)
print("")
profMainWindows = pstats.Stats(path.join(profDir,"testMainWindows.prof"))
profMainWindows = pstats.Stats(path.join(profDir, "testMainWindows.prof"))
profMainWindows.sort_stats("cumtime")
profMainWindows.print_stats("nw/")