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
|
wrong = true
|
||||||
except exception:
|
except exception:
|
||||||
discard
|
discard
|
||||||
except Exception as exc:
|
except Exception:
|
||||||
raiseAssert(astToStr(exception) &
|
raiseAssert(astToStr(exception) &
|
||||||
" wasn't raised, another error was raised instead by:\n"&
|
" wasn't raised, another error was raised instead by:\n"&
|
||||||
astToStr(code))
|
astToStr(code))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue