Remove unused variable
This commit is contained in:
parent
49710b9d14
commit
fa7b757823
1 changed files with 1 additions and 1 deletions
|
|
@ -4407,7 +4407,7 @@ template doAssertRaises*(exception: typedesc, code: untyped): typed =
|
|||
wrong = true
|
||||
except exception:
|
||||
discard
|
||||
except Exception as exc:
|
||||
except Exception:
|
||||
raiseAssert(astToStr(exception) &
|
||||
" wasn't raised, another error was raised instead by:\n"&
|
||||
astToStr(code))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue