make tests more robust; tests should be deterministic, no randomize() calls in tests
This commit is contained in:
parent
40115cd645
commit
796432ff94
3 changed files with 16 additions and 14 deletions
|
|
@ -93,4 +93,7 @@ else:
|
|||
doAssert outStr2 == absolutePath(testDir) & "\nx yz\n"
|
||||
|
||||
removeDir(testDir)
|
||||
removeFile(exePath)
|
||||
try:
|
||||
removeFile(exePath)
|
||||
except OSError:
|
||||
discard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue